aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/projecttree.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2016-04-13 15:52:14 +0200
committerTobias Hunger <tobias.hunger@theqtcompany.com>2016-04-15 09:40:53 +0000
commit95ac4edfd4276c73f0304651fe032d511a5a7c16 (patch)
treec1ebcef6ecff1292f9fa670111c39043b0f67837 /src/plugins/projectexplorer/projecttree.h
parent79da8a45860940f98333517c60ac388cc0b1af3a (diff)
Projectexplorer: Modernize codebase
Change-Id: I4793b58aa77bcd46af99f8b843c0f7439cdc9269 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Vikas Pachdha <vikas.pachdha@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/projecttree.h')
-rw-r--r--src/plugins/projectexplorer/projecttree.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/projectexplorer/projecttree.h b/src/plugins/projectexplorer/projecttree.h
index 678f298b70..2a48995893 100644
--- a/src/plugins/projectexplorer/projecttree.h
+++ b/src/plugins/projectexplorer/projecttree.h
@@ -43,7 +43,7 @@ class PROJECTEXPLORER_EXPORT ProjectTree : public QObject
{
Q_OBJECT
public:
- explicit ProjectTree(QObject *parent = 0);
+ explicit ProjectTree(QObject *parent = nullptr);
static ProjectTree *instance();
@@ -145,14 +145,14 @@ private:
private:
static ProjectTree *s_instance;
QList<Internal::ProjectTreeWidget *> m_projectTreeWidgets;
- Node *m_currentNode;
- Project *m_currentProject;
+ Node *m_currentNode = nullptr;
+ Project *m_currentProject = nullptr;
QList<FileNode *> m_filesAdded;
QList<FolderNode *> m_foldersAdded;
- bool m_resetCurrentNodeFolder;
- bool m_resetCurrentNodeFile;
- bool m_resetCurrentNodeProject;
- Internal::ProjectTreeWidget *m_focusForContextMenu;
+ bool m_resetCurrentNodeFolder = false;
+ bool m_resetCurrentNodeFile = false;
+ bool m_resetCurrentNodeProject = false;
+ Internal::ProjectTreeWidget *m_focusForContextMenu = nullptr;
Core::Context m_lastProjectContext;
};