summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-02-11 14:50:08 +0100
committerEike Ziller <eike.ziller@qt.io>2019-02-11 14:50:08 +0100
commitc129b8cfe213b1945b3a1f0fec2ff7000fe9707b (patch)
tree0ebdd308a9a929819931c9b4b2820fe7f963b08f /src/plugins/qmlprofiler
parent83dd0319606bd1eb52d1af937e2dd559721214ef (diff)
parent6ae786bcc8e317c9a8faa2354b2e9a1fe1cc4db6 (diff)
downloadqt-creator-c129b8cfe213b1945b3a1f0fec2ff7000fe9707b.tar.gz
Merge remote-tracking branch 'origin/4.9'
Change-Id: Ieed07c7fd0f422f8e1a96877c07916c7c1c1816e
Diffstat (limited to 'src/plugins/qmlprofiler')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilertool.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp
index 9669ed0b2c..20798fd8c3 100644
--- a/src/plugins/qmlprofiler/qmlprofilertool.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilertool.cpp
@@ -213,9 +213,7 @@ QmlProfilerTool::QmlProfilerTool()
this, &QmlProfilerTool::toggleVisibleFeature);
d->m_timeLabel = new QLabel();
- QPalette palette;
- palette.setColor(QPalette::WindowText, Qt::white);
- d->m_timeLabel->setPalette(palette);
+ d->m_timeLabel->setProperty("panelwidget", true);
d->m_timeLabel->setIndent(10);
updateTimeDisplay();
connect(d->m_timeLabel, &QObject::destroyed, &d->m_recordingTimer, &QTimer::stop);