[Pkg-owncloud-commits] [qtkeychain] 25/63: Add missing Q_OBJECT macro

Sandro Knauß hefee at debian.org
Sat Jun 10 14:39:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

hefee pushed a commit to branch master
in repository qtkeychain.

commit ddc4b8e7c6561515cce2d452084334a94227802a
Author: Mathias Hasselmann <mathias.hasselmann at kdab.com>
Date:   Tue Aug 9 12:52:05 2016 +0200

    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 <QLibrary>
 
 class GnomeKeyring : private QLibrary {
+    Q_OBJECT
+
 public:
     enum Result {
         RESULT_OK,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/qtkeychain.git



More information about the Pkg-owncloud-commits mailing list