diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-02 10:44:27 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-02 10:44:27 +0200 |
commit | fa12408b959a856c53d9aeadede060530e1ccbd3 (patch) | |
tree | bf72dcd538a435d98e6b0573ddd464958e9cba7a /ftnoir_protocol_wine | |
parent | 68d33b0c99cfac8f89c2224d457e1568232896f7 (diff) |
nix warnings on osx clang build
Diffstat (limited to 'ftnoir_protocol_wine')
-rw-r--r-- | ftnoir_protocol_wine/ftnoir_protocol_wine.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ftnoir_protocol_wine/ftnoir_protocol_wine.h b/ftnoir_protocol_wine/ftnoir_protocol_wine.h index 72897f1f..2aeb4608 100644 --- a/ftnoir_protocol_wine/ftnoir_protocol_wine.h +++ b/ftnoir_protocol_wine/ftnoir_protocol_wine.h @@ -18,9 +18,9 @@ public: FTNoIR_Protocol(); ~FTNoIR_Protocol() override; - bool correct(); - void pose(const double* headpose); - QString game_name() { + bool correct() override; + void pose(const double* headpose) override; + QString game_name() override { QMutexLocker foo(&game_name_mutex); return connected_game; } @@ -38,8 +38,8 @@ class FTControls: public IProtocolDialog Q_OBJECT public: FTControls(); - void register_protocol(IProtocol *) {} - void unregister_protocol() {} + void register_protocol(IProtocol *) override {} + void unregister_protocol() override {} private: Ui::UICFTControls ui; @@ -52,6 +52,6 @@ private slots: class FTNoIR_ProtocolDll : public Metadata { public: - QString name() { return QString("Wine -- Windows layer for Unix"); } - QIcon icon() { return QIcon(":/images/wine.png"); } + QString name() override { return QString("Wine -- Windows layer for Unix"); } + QIcon icon() override { return QIcon(":/images/wine.png"); } }; |