summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-09-11 19:26:22 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-09-11 19:26:22 (GMT)
commite1553eb3d71d28c1afd87d074330601e9f781144 (patch)
treea392bd25f565879dd5113af8918c82125ef9de82
parent42150620b4db1fff4997276ff51ee3bdaffd279f (diff)
KF5 compile fix.
Reported by shawn.mckenney at emmion.com.
-rw-r--r--umbrello/models/objectsmodel.cpp2
-rw-r--r--umbrello/models/objectsmodel.h2
-rw-r--r--umbrello/objectswindow.cpp2
3 files changed, 4 insertions, 2 deletions
diff --git a/umbrello/models/objectsmodel.cpp b/umbrello/models/objectsmodel.cpp
index 2ec20a7..6e8cdff 100644
--- a/umbrello/models/objectsmodel.cpp
+++ b/umbrello/models/objectsmodel.cpp
@@ -26,6 +26,8 @@
// qt includes
#include <QtDebug>
+Q_DECLARE_METATYPE(UMLObject*);
+
ObjectsModel::ObjectsModel()
{
}
diff --git a/umbrello/models/objectsmodel.h b/umbrello/models/objectsmodel.h
index db017be..b4687dc 100644
--- a/umbrello/models/objectsmodel.h
+++ b/umbrello/models/objectsmodel.h
@@ -17,8 +17,6 @@
class UMLObject;
-Q_DECLARE_METATYPE(UMLObject*);
-
class ObjectsModel : public QAbstractTableModel
{
Q_OBJECT
diff --git a/umbrello/objectswindow.cpp b/umbrello/objectswindow.cpp
index 2340e2e..3afeeca 100644
--- a/umbrello/objectswindow.cpp
+++ b/umbrello/objectswindow.cpp
@@ -25,6 +25,8 @@
#include <QSortFilterProxyModel>
#include <QtDebug>
+Q_DECLARE_METATYPE(UMLObject*);
+
ObjectsWindow::ObjectsWindow(const QString &title, QWidget *parent)
: QDockWidget(title, parent)
{