summaryrefslogtreecommitdiff
path: root/src/plugins/perfprofiler
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-02-11 12:24:27 +0100
committerUlf Hermann <ulf.hermann@qt.io>2019-02-11 12:13:22 +0000
commit8789c5ab710f6b70384056415c9f8b1961c4a942 (patch)
treef0c6c9b744783188401bdf82670bb832364c9fe4 /src/plugins/perfprofiler
parentf6dcc90a6f00672221898a191ccdd30f4d19ac15 (diff)
downloadqt-creator-8789c5ab710f6b70384056415c9f8b1961c4a942.tar.gz
QmlProfiler, PerfProfiler: Properly style panel widgets
We need to set the "panelwidget" property for the foreground color to be set. Now that we do this correctly we don't need to hack around in the palette anymore in QmlProfiler. Change-Id: Icdc737e1c74d16ec76a12dbbdf6f8f64062bd19c Fixes: QTCREATORBUG-21961 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/perfprofiler')
-rw-r--r--src/plugins/perfprofiler/perfprofilertool.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/perfprofiler/perfprofilertool.cpp b/src/plugins/perfprofiler/perfprofilertool.cpp
index 28bbe0feca..1736103189 100644
--- a/src/plugins/perfprofiler/perfprofilertool.cpp
+++ b/src/plugins/perfprofiler/perfprofilertool.cpp
@@ -164,7 +164,9 @@ PerfProfilerTool::PerfProfilerTool(QObject *parent) :
m_filterMenu = new QMenu(m_filterButton);
m_aggregateButton = new QToolButton;
m_recordedLabel = new QLabel;
+ m_recordedLabel->setProperty("panelwidget", true);
m_delayLabel = new QLabel;
+ m_delayLabel->setProperty("panelwidget", true);
m_perspective.setAboutToActivateCallback([this]() { createViews(); });
}