summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodestylepreferences.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2012-11-21 22:36:47 +0200
committerFriedemann Kleint <Friedemann.Kleint@digia.com>2012-11-22 09:40:14 +0100
commitbe443b8edb9822d09cee9a0d5997d1f952836a87 (patch)
tree358eb747975dc8b2837f4096a3ca6a7840b86a9e /src/plugins/cpptools/cppcodestylepreferences.cpp
parentf0ef96ef0c37b5903bda18e2af80c82f14f30181 (diff)
downloadqt-creator-be443b8edb9822d09cee9a0d5997d1f952836a87.tar.gz
CppTools: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: I31a6117c2b4be3f8603c16a9f98b6937a0b9aeb2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodestylepreferences.cpp')
-rw-r--r--src/plugins/cpptools/cppcodestylepreferences.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppcodestylepreferences.cpp b/src/plugins/cpptools/cppcodestylepreferences.cpp
index b80bae5744..2cb5da15c9 100644
--- a/src/plugins/cpptools/cppcodestylepreferences.cpp
+++ b/src/plugins/cpptools/cppcodestylepreferences.cpp
@@ -96,7 +96,7 @@ void CppCodeStylePreferences::slotCurrentValueChanged(const QVariant &value)
QString CppCodeStylePreferences::settingsSuffix() const
{
- return settingsSuffixKey;
+ return QLatin1String(settingsSuffixKey);
}
void CppCodeStylePreferences::toMap(const QString &prefix, QVariantMap *map) const