From e7c1ba536ae4e3383eb5fa2592b92e2d13bc5682 Mon Sep 17 00:00:00 2001
From: dt <qtc-committer@nokia.com>
Date: Mon, 5 Oct 2009 18:42:12 +0200
Subject: [PATCH] Remove variable that is never set but used.

---
 src/plugins/projectexplorer/projectmodels.cpp | 4 ----
 src/plugins/projectexplorer/projectmodels.h   | 2 --
 2 files changed, 6 deletions(-)

diff --git a/src/plugins/projectexplorer/projectmodels.cpp b/src/plugins/projectexplorer/projectmodels.cpp
index 55e1a542982..b8144112154 100644
--- a/src/plugins/projectexplorer/projectmodels.cpp
+++ b/src/plugins/projectexplorer/projectmodels.cpp
@@ -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;
         }
diff --git a/src/plugins/projectexplorer/projectmodels.h b/src/plugins/projectexplorer/projectmodels.h
index c04a6e2b9ac..32007250ca0 100644
--- a/src/plugins/projectexplorer/projectmodels.h
+++ b/src/plugins/projectexplorer/projectmodels.h
@@ -98,8 +98,6 @@ private:
 
     SessionNode *m_rootNode;
     mutable QHash<FolderNode*, QList<Node*> > m_childNodes;
-    bool m_isStartupProject;
-
     FolderNode *m_folderToAddTo;
 
     friend class DetailedModelManager;
-- 
GitLab