summaryrefslogtreecommitdiffstats
path: root/src/qtabledefaultmodel.cpp
diff options
context:
space:
mode:
authorMarius Bugge Monsen <mmonsen@trolltech.com>2009-09-29 15:53:33 +0200
committerMarius Bugge Monsen <mmonsen@trolltech.com>2009-09-29 15:53:33 +0200
commit12c7dcebf2d50a90a718bcdd05b8ad5cdbde31da (patch)
treecd2f92828d0738451d376909262cdb674b2c5962 /src/qtabledefaultmodel.cpp
parentabc2891bc4f3147d9e305eeaa8d16671b309d111 (diff)
parente8c752a9274e7531732db06ae1e68cf6480b2634 (diff)
Merge branch 'master' of git@scm.dev.nokia.troll.no:research/itemviews-ng
Conflicts: src/qgraphicslistview.h
Diffstat (limited to 'src/qtabledefaultmodel.cpp')
-rw-r--r--src/qtabledefaultmodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qtabledefaultmodel.cpp b/src/qtabledefaultmodel.cpp
index 0361671..6c93c34 100644
--- a/src/qtabledefaultmodel.cpp
+++ b/src/qtabledefaultmodel.cpp
@@ -25,8 +25,9 @@
QT_BEGIN_NAMESPACE
-struct QtTableDefaultItemPrivate
+class QtTableDefaultItemPrivate
{
+public:
inline QtTableDefaultItemPrivate() : model(0), index(-1) {}
QHash<int,QVariant> data;
QtTableDefaultModel *model;