summaryrefslogtreecommitdiff
path: root/src/plugins/welcome/welcomemode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/welcome/welcomemode.cpp')
-rw-r--r--src/plugins/welcome/welcomemode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/welcome/welcomemode.cpp b/src/plugins/welcome/welcomemode.cpp
index 6397930cfa..4ebefd396a 100644
--- a/src/plugins/welcome/welcomemode.cpp
+++ b/src/plugins/welcome/welcomemode.cpp
@@ -111,7 +111,7 @@ WelcomeMode::~WelcomeMode()
delete m_d;
}
-QString WelcomeMode::name() const
+QString WelcomeMode::displayName() const
{
return tr("Welcome");
}
@@ -131,9 +131,9 @@ QWidget* WelcomeMode::widget()
return m_d->m_scrollArea;
}
-const char* WelcomeMode::uniqueModeName() const
+QString WelcomeMode::id() const
{
- return Core::Constants::MODE_WELCOME;
+ return QLatin1String(Core::Constants::MODE_WELCOME);
}
QList<int> WelcomeMode::context() const