summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp
diff options
context:
space:
mode:
authorMahmoud Badri <mahmoud.badri@qt.io>2019-03-15 16:47:39 +0200
committerMahmoud Badri <mahmoud.badri@qt.io>2019-03-18 10:27:40 +0000
commit5677201fe7c560564e16ae61452fbfe5c0fe5ea8 (patch)
tree7b2a7384ee702465df4b469970e5c8fcbcb882f7 /src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp
parent311ef123e2f700ffbf9b74868f88d3c159eba57f (diff)
Show tags names in dark color when when group color is bright
Applies to the inspector and filter dialog Change-Id: I668bb905b171cb96f83f1da7bfd20c1fd672dd18 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp')
-rw-r--r--src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp b/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp
index eb1ece18..6ba75709 100644
--- a/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp
+++ b/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.cpp
@@ -250,6 +250,7 @@ void InspectorControlView::initialize()
rootContext()->setContextProperty(QStringLiteral("_resDir"), StudioUtils::resourceImageUrl());
rootContext()->setContextProperty(QStringLiteral("_tabOrderHandler"), tabOrderHandler());
rootContext()->setContextProperty(QStringLiteral("_mouseHelper"), &m_mouseHelper);
+ rootContext()->setContextProperty(QStringLiteral("_utils"), &m_qmlUtils);
m_mouseHelper.setWidget(this);
qmlRegisterUncreatableType<qt3dsdm::DataModelDataType>(