Add missing Q_OBJECT macro

Clazy complains about this.
This commit is contained in:
Mathias Hasselmann 2016-08-09 12:52:05 +02:00
parent bd936d6030
commit ddc4b8e7c6
2 changed files with 3 additions and 1 deletions

View File

@ -145,7 +145,7 @@ if(UNIX AND NOT APPLE)
list(APPEND qtkeychain_LIBRARIES ${QTDBUS_LIBRARIES} )
endif()
QT_WRAP_CPP(qtkeychain_MOC_OUTFILES keychain.h keychain_p.h)
QT_WRAP_CPP(qtkeychain_MOC_OUTFILES keychain.h keychain_p.h gnomekeyring_p.h)
set(qtkeychain_TR_FILES
translations/qtkeychain_de.ts

View File

@ -4,6 +4,8 @@
#include <QLibrary>
class GnomeKeyring : private QLibrary {
Q_OBJECT
public:
enum Result {
RESULT_OK,