aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/welcome
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-06-25 17:37:59 +0200
committerhjk <qtc-committer@nokia.com>2010-06-25 17:38:25 +0200
commit2f5f358ff420bf4fa2fdc09d105463bd1e0e792f (patch)
treea826357ccde587a1cce12749ff5fbb0ae8ac6f79 /src/plugins/welcome
parent2bdf10ce1077fc21f6a3835de1f103f87c75eebf (diff)
Core::Context: compile hot fix for Windows.
Diffstat (limited to 'src/plugins/welcome')
-rw-r--r--src/plugins/welcome/welcomemode.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/welcome/welcomemode.cpp b/src/plugins/welcome/welcomemode.cpp
index c8c0025543..7d345bc471 100644
--- a/src/plugins/welcome/welcomemode.cpp
+++ b/src/plugins/welcome/welcomemode.cpp
@@ -34,7 +34,6 @@
#include <coreplugin/icore.h>
#include <coreplugin/coreconstants.h>
-#include <coreplugin/uniqueidmanager.h>
#include <utils/styledbar.h>
#include <utils/welcomemodetreewidget.h>
@@ -150,8 +149,7 @@ QString WelcomeMode::id() const
Core::Context WelcomeMode::context() const
{
- static Core::Context contexts =
- Core::Context(Core::UniqueIDManager::instance()->uniqueIdentifier(Core::Constants::C_WELCOME_MODE));
+ static Core::Context contexts(Core::Constants::C_WELCOME_MODE);
return contexts;
}