Remove variable that is never set but used.

This commit is contained in:
dt
2009-10-05 18:42:12 +02:00
parent 66a96c86b0
commit e7c1ba536a
2 changed files with 0 additions and 6 deletions

View File

@@ -243,10 +243,6 @@ QVariant DetailedModel::data(const QModelIndex &index, int role) const
}
case Qt::FontRole: {
QFont font;
if (qobject_cast<ProjectNode*>(folderNode)) {
if (index == this->index(0,0) && m_isStartupProject)
font.setBold(true);
}
result = font;
break;
}

View File

@@ -98,8 +98,6 @@ private:
SessionNode *m_rootNode;
mutable QHash<FolderNode*, QList<Node*> > m_childNodes;
bool m_isStartupProject;
FolderNode *m_folderToAddTo;
friend class DetailedModelManager;