diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2014-05-02 17:02:28 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2014-05-06 11:31:04 +0200 |
commit | 0814cc112abac5c18e873dcfa388f54ecac7b8a8 (patch) | |
tree | e04eb72d54fe908f75aab8a64a93153180dfa2c5 /src/plugins/qtsupport/gettingstartedwelcomepage.cpp | |
parent | 8d5e4b32a8d303240958f555eab14097bdbd50e5 (diff) | |
download | qt-creator-0814cc112abac5c18e873dcfa388f54ecac7b8a8.tar.gz |
Remove some needless ProjectExplorer::
... and use ProjectExplorerPlugin::instance() directly in some places
where a variable was defined for it and used exactly once.
No code change.
Change-Id: I095fc80ac29f717eaabf13afa90c3bf6d9daf90a
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/qtsupport/gettingstartedwelcomepage.cpp')
-rw-r--r-- | src/plugins/qtsupport/gettingstartedwelcomepage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qtsupport/gettingstartedwelcomepage.cpp b/src/plugins/qtsupport/gettingstartedwelcomepage.cpp index 55112e9214..1a1d70074d 100644 --- a/src/plugins/qtsupport/gettingstartedwelcomepage.cpp +++ b/src/plugins/qtsupport/gettingstartedwelcomepage.cpp @@ -404,10 +404,9 @@ void ExamplesWelcomePage::openProject(const QString &projectFile, const QStringL // don't try to load help and files if loading the help request is being cancelled QString errorMessage; - ProjectExplorer::ProjectExplorerPlugin *peplugin = ProjectExplorer::ProjectExplorerPlugin::instance(); if (proFile.isEmpty()) return; - if (peplugin->openProject(proFile, &errorMessage)) { + if (ProjectExplorer::ProjectExplorerPlugin::instance()->openProject(proFile, &errorMessage)) { Core::ICore::openFiles(filesToOpen); Core::ModeManager::activateMode(Core::Constants::MODE_EDIT); if (help.isValid()) |