summaryrefslogtreecommitdiffstats
path: root/demos/interview/model.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-03-01 14:52:15 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-03-01 14:52:42 (GMT)
commite24247b07c6450881094200e729390b676f911aa (patch)
tree79f1432dc78bc1778f7886f7e2d6f3bb8b7f1d06 /demos/interview/model.h
parentd628a467159b79c85885acb21510cb1e646a968b (diff)
downloadQt-e24247b07c6450881094200e729390b676f911aa.zip
Qt-e24247b07c6450881094200e729390b676f911aa.tar.gz
Qt-e24247b07c6450881094200e729390b676f911aa.tar.bz2
Interview Demo: Fix warning about pixmap leak on X11.
Reviewed-by: Trond Kjernåsen <trond.kjernasen@nokia.com>
Diffstat (limited to 'demos/interview/model.h')
-rw-r--r--demos/interview/model.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/interview/model.h b/demos/interview/model.h
index bad83a8..c7c15f7 100644
--- a/demos/interview/model.h
+++ b/demos/interview/model.h
@@ -44,6 +44,7 @@
#include <QAbstractItemModel>
#include <QFileIconProvider>
+#include <QIcon>
#include <QVector>
class Model : public QAbstractItemModel
@@ -80,6 +81,7 @@ private:
Node *parent(Node *child) const;
int row(Node *node) const;
+ QIcon services;
int rc, cc;
QVector<Node> *tree;
QFileIconProvider iconProvider;