summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels
diff options
context:
space:
mode:
authorRisto Avila <risto.avila@theqtcompany.com>2015-12-07 13:25:50 +0200
committerRisto Avila <risto.avila@theqtcompany.com>2015-12-07 13:24:49 +0000
commitc7b26e632efb1e3a1296970eb82ad5d58986432b (patch)
tree711d4e4e15d37cb350254f36ffbafabb86752d86 /src/corelib/itemmodels
parentf0a6d45cc8ca0b17838046c1c17efbc64773f2b5 (diff)
Add missing include to qabstractitemmodel_p.h
qabstractitemmodel_p.h should include qabstractitemmodel.h since it's using QModelIndex. Change-Id: Ie2e3f9e1b324e080e1159e49fa89dd70f920dd1d Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/itemmodels')
-rw-r--r--src/corelib/itemmodels/qabstractitemmodel_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/itemmodels/qabstractitemmodel_p.h b/src/corelib/itemmodels/qabstractitemmodel_p.h
index 466cefc261..77a3164959 100644
--- a/src/corelib/itemmodels/qabstractitemmodel_p.h
+++ b/src/corelib/itemmodels/qabstractitemmodel_p.h
@@ -46,7 +46,8 @@
//
//
-#include "private/qobject_p.h"
+#include "QtCore/qabstractitemmodel.h"
+#include "QtCore/private/qobject_p.h"
#include "QtCore/qstack.h"
#include "QtCore/qset.h"
#include "QtCore/qhash.h"