summaryrefslogtreecommitdiff
path: root/src/plugins/help/helpwidget.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2016-07-21 08:35:30 +0200
committerChristian Stenger <christian.stenger@qt.io>2016-07-21 08:56:37 +0000
commita769d2f8105064f8dc49933461ae351fa074ecce (patch)
treec6f6841ade4adf460ec031cf7def1b15e2a52e9f /src/plugins/help/helpwidget.cpp
parentc25ac73f656bdb2ab009618deffc12a20196d9d1 (diff)
downloadqt-creator-a769d2f8105064f8dc49933461ae351fa074ecce.tar.gz
Help: Fix compile for Qt5.5
Change-Id: I8b8063043d5a6be2dc8f9ce1e2e9e36646959050 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'src/plugins/help/helpwidget.cpp')
-rw-r--r--src/plugins/help/helpwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/help/helpwidget.cpp b/src/plugins/help/helpwidget.cpp
index 69a7152081..b79c9bfe64 100644
--- a/src/plugins/help/helpwidget.cpp
+++ b/src/plugins/help/helpwidget.cpp
@@ -396,9 +396,9 @@ QString HelpWidget::sideBarSettingsKey() const
{
switch (m_style) {
case ModeWidget:
- return kModeSideBarSettingsKey;
+ return QString(kModeSideBarSettingsKey);
case ExternalWindow:
- return kWindowSideBarSettingsKey;
+ return QString(kWindowSideBarSettingsKey);
case SideBarWidget:
QTC_CHECK(false);
break;