forked from qt-creator/qt-creator
Remove variable that is never set but used.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -98,8 +98,6 @@ private:
|
||||
|
||||
SessionNode *m_rootNode;
|
||||
mutable QHash<FolderNode*, QList<Node*> > m_childNodes;
|
||||
bool m_isStartupProject;
|
||||
|
||||
FolderNode *m_folderToAddTo;
|
||||
|
||||
friend class DetailedModelManager;
|
||||
|
||||
Reference in New Issue
Block a user