From ddc4b8e7c6561515cce2d452084334a94227802a Mon Sep 17 00:00:00 2001 From: Mathias Hasselmann Date: Tue, 9 Aug 2016 12:52:05 +0200 Subject: [PATCH] Add missing Q_OBJECT macro Clazy complains about this. --- CMakeLists.txt | 2 +- gnomekeyring_p.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e1c5fb5..4bd5c0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/gnomekeyring_p.h b/gnomekeyring_p.h index 3f6869b..87c062c 100644 --- a/gnomekeyring_p.h +++ b/gnomekeyring_p.h @@ -4,6 +4,8 @@ #include class GnomeKeyring : private QLibrary { + Q_OBJECT + public: enum Result { RESULT_OK,