Core: Avoid a color->name->color conversion in locatorwidget

Change-Id: Ib81b2500845d7da65f944f24324dd4aa0a71a822
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Alessandro Portale
2018-01-02 11:52:04 +01:00
parent 4bdcb8064c
commit a19005fc38

View File

@@ -87,7 +87,7 @@ public:
LocatorModel(QObject *parent = nullptr) LocatorModel(QObject *parent = nullptr)
: QAbstractListModel(parent) : QAbstractListModel(parent)
, mBackgroundColor(Utils::creatorTheme()->color(Utils::Theme::TextColorHighlightBackground).name()) , mBackgroundColor(Utils::creatorTheme()->color(Utils::Theme::TextColorHighlightBackground))
{} {}
void clear(); void clear();