summaryrefslogtreecommitdiff
path: root/src/libs/utils
diff options
context:
space:
mode:
authorNikita Baryshnikov <nib952051@gmail.com>2017-08-07 13:21:21 +0300
committerNikita Baryshnikov <nib952051@gmail.com>2017-08-21 09:27:21 +0000
commit8de69d7b5fadbf9d626f370439e6056f2651f9e2 (patch)
tree3da0aaecd49fa0a6dfcf6e107f109d3d30e3ef61 /src/libs/utils
parent9c9baaac04f2d5f3fc0c3e429c1a4b7e9ba35824 (diff)
downloadqt-creator-8de69d7b5fadbf9d626f370439e6056f2651f9e2.tar.gz
Replace QLatin1String, QStringLiteral ("") with QString()
Change-Id: I21e6165e7e8858df8436c04c9afcc1be5242bda4 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: André Hartmann <aha_1980@gmx.de>
Diffstat (limited to 'src/libs/utils')
-rw-r--r--src/libs/utils/theme/theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/theme/theme.cpp b/src/libs/utils/theme/theme.cpp
index 061ff335cc..7a4227cd75 100644
--- a/src/libs/utils/theme/theme.cpp
+++ b/src/libs/utils/theme/theme.cpp
@@ -172,7 +172,7 @@ void Theme::readSettings(QSettings &settings)
{
d->displayName = settings.value(QLatin1String("ThemeName"), QLatin1String("unnamed")).toString();
d->preferredStyles = settings.value(QLatin1String("PreferredStyles")).toStringList();
- d->preferredStyles.removeAll(QLatin1String(""));
+ d->preferredStyles.removeAll(QString());
d->defaultTextEditorColorScheme =
settings.value(QLatin1String("DefaultTextEditorColorScheme")).toString();
}