changeset 605:1642a79cc02d

Every class that inherits QObject needs the Q_Object macro. Fixes moc warnings
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 18 Jun 2014 10:44:39 +0200
parents 3d45f5bca0aa
children 91dd38a71783
files ui/aboutdialog.h ui/helpdialog.h
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ui/aboutdialog.h	Wed Jun 18 09:17:25 2014 +0200
+++ b/ui/aboutdialog.h	Wed Jun 18 10:44:39 2014 +0200
@@ -17,6 +17,7 @@
 
 class AboutDialog : public QDialog
 {
+    Q_OBJECT
 public:
     /** @brief Create a help dialog */
     AboutDialog(QMainWindow *parent);
--- a/ui/helpdialog.h	Wed Jun 18 09:17:25 2014 +0200
+++ b/ui/helpdialog.h	Wed Jun 18 10:44:39 2014 +0200
@@ -17,6 +17,7 @@
 
 class HelpDialog : public QDialog
 {
+    Q_OBJECT
 public:
     /** @brief Create a help dialog */
     HelpDialog(QMainWindow *parent);

http://wald.intevation.org/projects/trustbridge/