You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fix override syntax
Overrides go at the end of the declaration. Qt also has the `Q_DECL_OVERRIDE` preprocessor define, which expands to `override` only when building the code using C++11 or higher.
This commit is contained in:
@@ -57,7 +57,7 @@ public:
|
||||
~PlayerDemo();
|
||||
|
||||
protected:
|
||||
override void keyPressEvent(QKeyEvent *event);
|
||||
void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
|
||||
void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
|
||||
|
||||
private slots:
|
||||
|
||||
Reference in New Issue
Block a user