aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/theme/theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/utils/theme/theme.cpp')
-rw-r--r--src/libs/utils/theme/theme.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/utils/theme/theme.cpp b/src/libs/utils/theme/theme.cpp
index c6a37e3c1e..13843d3dd5 100644
--- a/src/libs/utils/theme/theme.cpp
+++ b/src/libs/utils/theme/theme.cpp
@@ -113,6 +113,8 @@ QPair<QColor, QString> Theme::readNamedColor(const QString &color) const
{
if (d->palette.contains(color))
return qMakePair(d->palette[color], color);
+ if (color == QLatin1String("style"))
+ return qMakePair(QColor(), QString());
bool ok = true;
const QRgb rgba = color.toLongLong(&ok, 16);