diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2010-02-27 14:21:22 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2010-02-27 14:21:53 +0100 |
commit | f8d751bb26baf169795df65af8aeab17bb75814c (patch) | |
tree | 6556dfae8806d0725909e4c1edddc2ac0d82d5de /src/plugins/helloworld | |
parent | 7eee2d3b6bd6f506644206a7c878c7463f0b15cf (diff) | |
download | qt-creator-f8d751bb26baf169795df65af8aeab17bb75814c.tar.gz |
Fix compilation of HelloWorld plugin
Diffstat (limited to 'src/plugins/helloworld')
-rw-r--r-- | src/plugins/helloworld/helloworldplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/helloworld/helloworldplugin.cpp b/src/plugins/helloworld/helloworldplugin.cpp index bbd4f574a8..06d9973d37 100644 --- a/src/plugins/helloworld/helloworldplugin.cpp +++ b/src/plugins/helloworld/helloworldplugin.cpp @@ -110,7 +110,7 @@ bool HelloWorldPlugin::initialize(const QStringList &arguments, QString *error_m // it will unregister itself from the plugin manager when it is deleted. Core::BaseMode *baseMode = new Core::BaseMode; baseMode->setId(QLatin1String("HelloWorld.HelloWorldMode")); - baseMode->setName(tr("Hello world!")); + baseMode->setDisplayName(tr("Hello world!")); baseMode->setIcon(QIcon()); baseMode->setPriority(0); baseMode->setWidget(new QPushButton(tr("Hello World PushButton!"))); |