Fixed the context of the Hello World! mode

This commit is contained in:
Thorbjørn Lindeijer
2009-08-28 15:21:13 +02:00
parent 27382f753c
commit 1d022d32ec

View File

@@ -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)