diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-09-28 11:27:15 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-28 12:13:38 +0200 |
commit | 8cb28f3b0e528467145e590bc02538ed21f71949 (patch) | |
tree | 96886a36451fb6a6380d76c6103b55224f14ea6a /src/designer/src/components/formeditor/qdesigner_resource.cpp | |
parent | 8cf4dc81889b58309c7a464bbe21a1c5742cf099 (diff) |
Designer: Fix compilation with MSVC 2010.
Remove overzealous use of QStringLiteral.
Adapt XSLT accordingly.
Change-Id: I281a56feb299eaa0cca7dde25353c9bbd158909d
Reviewed-on: http://codereview.qt-project.org/5700
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/designer/src/components/formeditor/qdesigner_resource.cpp')
-rw-r--r-- | src/designer/src/components/formeditor/qdesigner_resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/components/formeditor/qdesigner_resource.cpp b/src/designer/src/components/formeditor/qdesigner_resource.cpp index c938274b4..621283187 100644 --- a/src/designer/src/components/formeditor/qdesigner_resource.cpp +++ b/src/designer/src/components/formeditor/qdesigner_resource.cpp @@ -1334,7 +1334,7 @@ DomWidget *QDesignerResource::saveWidget(QToolBar *toolBar, DomWidget *ui_parent attr = new DomProperty(); attr->setAttributeName(QStringLiteral("toolBarBreak")); - attr->setElementBool(toolBarBreak ? QStringLiteral("true") : QStringLiteral("false")); + attr->setElementBool(toolBarBreak ? QLatin1String("true") : QLatin1String("false")); attributes << attr; ui_widget->setElementAttribute(attributes); } |