Commit e7c1ba53 authored by dt's avatar dt
Browse files

Remove variable that is never set but used.

parent 66a96c86
...@@ -243,10 +243,6 @@ QVariant DetailedModel::data(const QModelIndex &index, int role) const ...@@ -243,10 +243,6 @@ QVariant DetailedModel::data(const QModelIndex &index, int role) const
} }
case Qt::FontRole: { case Qt::FontRole: {
QFont font; QFont font;
if (qobject_cast<ProjectNode*>(folderNode)) {
if (index == this->index(0,0) && m_isStartupProject)
font.setBold(true);
}
result = font; result = font;
break; break;
} }
......
...@@ -98,8 +98,6 @@ private: ...@@ -98,8 +98,6 @@ private:
SessionNode *m_rootNode; SessionNode *m_rootNode;
mutable QHash<FolderNode*, QList<Node*> > m_childNodes; mutable QHash<FolderNode*, QList<Node*> > m_childNodes;
bool m_isStartupProject;
FolderNode *m_folderToAddTo; FolderNode *m_folderToAddTo;
friend class DetailedModelManager; friend class DetailedModelManager;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment