summaryrefslogtreecommitdiff
path: root/src/plugins/helloworld/helloworldplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/helloworld/helloworldplugin.cpp')
-rw-r--r--src/plugins/helloworld/helloworldplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/helloworld/helloworldplugin.cpp b/src/plugins/helloworld/helloworldplugin.cpp
index f898651c1b..bbd4f574a8 100644
--- a/src/plugins/helloworld/helloworldplugin.cpp
+++ b/src/plugins/helloworld/helloworldplugin.cpp
@@ -109,7 +109,7 @@ bool HelloWorldPlugin::initialize(const QStringList &arguments, QString *error_m
// Add a mode with a push button based on BaseMode. Like the BaseView,
// it will unregister itself from the plugin manager when it is deleted.
Core::BaseMode *baseMode = new Core::BaseMode;
- baseMode->setUniqueModeName("HelloWorld.HelloWorldMode");
+ baseMode->setId(QLatin1String("HelloWorld.HelloWorldMode"));
baseMode->setName(tr("Hello world!"));
baseMode->setIcon(QIcon());
baseMode->setPriority(0);