diff -r b72c6db6890b -r 5dc02b23752f demos/interview/model.cpp --- a/demos/interview/model.cpp Wed Jun 23 19:07:03 2010 +0300 +++ b/demos/interview/model.cpp Tue Jul 06 15:10:48 2010 +0300 @@ -45,6 +45,7 @@ Model::Model(int rows, int columns, QObject *parent) : QAbstractItemModel(parent), + services(QPixmap(":/images/services.png")), rc(rows), cc(columns), tree(new QVector(rows, Node(0))) { @@ -105,7 +106,6 @@ QVariant Model::headerData(int section, Qt::Orientation orientation, int role) const { - static QIcon services(QPixmap(":/images/services.png")); if (role == Qt::DisplayRole) return QString::number(section); if (role == Qt::DecorationRole)