forked from qt-creator/qt-creator
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:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user