From 1d022d32ecfd0e0caac5bbbaedbbdb7f7cf8b6d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Fri, 28 Aug 2009 15:21:13 +0200 Subject: [PATCH] Fixed the context of the Hello World! mode --- src/plugins/helloworld/helloworldplugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/helloworld/helloworldplugin.cpp b/src/plugins/helloworld/helloworldplugin.cpp index 245e6cda309..f898651c1bf 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)