Commit 974fe9f8 authored by Daniel Teske's avatar Daniel Teske
Browse files

Fix non standard wizard for default theme

Somehow a line "PreferredStyles =" is interpreted by QSettings
as a QStringList with a empty string.

Simply remove empty strings on reading the settings, as no
style can have that name.

Change-Id: If544e55f759c201d0621c71424a4ebedc8456d61
Task-number: QTCREATORBUG-15043
Reviewed-by: default avatarOrgad Shaneh <>
Reviewed-by: default avatarRobert Loehning <>
parent 1921e568
......@@ -266,6 +266,7 @@ void Theme::readSettings(QSettings &settings)
d->name = settings.value(QLatin1String("ThemeName"), QLatin1String("unnamed")).toString();
d->preferredStyles = settings.value(QLatin1String("PreferredStyles")).toStringList();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment