forked from qt-creator/qt-creator
TextEditor: Compile with QT_NO_CAST_FROM_ASCII.
Change-Id: I8fa683c4f68d6e3d3a3eb95acf2f54f8c56b87b7 Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
|
||||
using namespace TextEditor;
|
||||
|
||||
static const char *settingsSuffixKey = "TabPreferences";
|
||||
static const char settingsSuffixKey[] = "TabPreferences";
|
||||
|
||||
|
||||
SimpleCodeStylePreferences::SimpleCodeStylePreferences(QObject *parent)
|
||||
@@ -56,7 +56,7 @@ void SimpleCodeStylePreferences::setValue(const QVariant &value)
|
||||
|
||||
QString SimpleCodeStylePreferences::settingsSuffix() const
|
||||
{
|
||||
return settingsSuffixKey;
|
||||
return QLatin1String(settingsSuffixKey);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user