summaryrefslogtreecommitdiff
path: root/src/plugins/designer
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2012-11-08 21:12:56 +0200
committerhjk <qthjk@ovi.com>2012-11-09 15:34:50 +0100
commit10be8c9a484161242d1c19da9f3a6956672967cd (patch)
treec1f3ce428c601b32e98352b8a633f1f71b9ff4cc /src/plugins/designer
parent192e3f81b5f0da8754bac210f544596fc2dbf1b1 (diff)
downloadqt-creator-10be8c9a484161242d1c19da9f3a6956672967cd.tar.gz
InfoBar: Use Core::Id
Change-Id: I0918fbc20027a340facbedc685938a72d117d53b Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/designer')
-rw-r--r--src/plugins/designer/formeditorfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/designer/formeditorfactory.cpp b/src/plugins/designer/formeditorfactory.cpp
index 08fb224af7..5a03eb61fb 100644
--- a/src/plugins/designer/formeditorfactory.cpp
+++ b/src/plugins/designer/formeditorfactory.cpp
@@ -75,7 +75,7 @@ Core::IDocument *FormEditorFactory::open(const QString &fileName)
if (!iface)
return 0;
if (qobject_cast<FormWindowEditor *>(iface)) {
- Core::InfoBarEntry info(QLatin1String(Constants::INFO_READ_ONLY),
+ Core::InfoBarEntry info(Core::Id(Constants::INFO_READ_ONLY),
tr("This file can only be edited in <b>Design</b> mode."));
info.setCustomButtonInfo(tr("Switch mode"), this, SLOT(designerModeClicked()));
iface->document()->infoBar()->addInfo(info);