From a19005fc38a6659a7008cf56181bfc1a96698300 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Tue, 2 Jan 2018 11:52:04 +0100 Subject: [PATCH] Core: Avoid a color->name->color conversion in locatorwidget Change-Id: Ib81b2500845d7da65f944f24324dd4aa0a71a822 Reviewed-by: Eike Ziller --- src/plugins/coreplugin/locator/locatorwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/locator/locatorwidget.cpp b/src/plugins/coreplugin/locator/locatorwidget.cpp index cb93a54bb94..59387ae2059 100644 --- a/src/plugins/coreplugin/locator/locatorwidget.cpp +++ b/src/plugins/coreplugin/locator/locatorwidget.cpp @@ -87,7 +87,7 @@ public: LocatorModel(QObject *parent = nullptr) : QAbstractListModel(parent) - , mBackgroundColor(Utils::creatorTheme()->color(Utils::Theme::TextColorHighlightBackground).name()) + , mBackgroundColor(Utils::creatorTheme()->color(Utils::Theme::TextColorHighlightBackground)) {} void clear();