summaryrefslogtreecommitdiff
path: root/src/plugins/helloworld
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-08-28 15:21:13 +0200
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-08-28 16:57:27 +0200
commit1d022d32ecfd0e0caac5bbbaedbbdb7f7cf8b6d2 (patch)
tree4c61b04b07e077fad8cb92b9cd5ff3f5d054b3de /src/plugins/helloworld
parent27382f753cdf253c7875a2bc1f9040e905868a3d (diff)
downloadqt-creator-1d022d32ecfd0e0caac5bbbaedbbdb7f7cf8b6d2.tar.gz
Fixed the context of the Hello World! mode
Diffstat (limited to 'src/plugins/helloworld')
-rw-r--r--src/plugins/helloworld/helloworldplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/helloworld/helloworldplugin.cpp b/src/plugins/helloworld/helloworldplugin.cpp
index 245e6cda30..f898651c1b 100644
--- a/src/plugins/helloworld/helloworldplugin.cpp
+++ b/src/plugins/helloworld/helloworldplugin.cpp
@@ -114,6 +114,7 @@ bool HelloWorldPlugin::initialize(const QStringList &arguments, QString *error_m
baseMode->setIcon(QIcon());
baseMode->setPriority(0);
baseMode->setWidget(new QPushButton(tr("Hello World PushButton!")));
+ baseMode->setContext(context);
addAutoReleasedObject(baseMode);
// Add the Hello World action command to the mode manager (with 0 priority)