diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-05-11 15:18:07 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-05-23 07:46:01 +0000 |
commit | 324e221bee71b4fe4d525626acfa8edbcec3f16b (patch) | |
tree | 5659bbeda0f6b6f52a9d8e8079856eabe9288c3c /src/plugins/qmlprofiler/qmlprofilerstatewidget.h | |
parent | 6b4963b5499269062e2cffe9e70df4f022c5bf8c (diff) |
QmlProfiler: Simplify painting of state widget
There is no reason to have an elaborate painting routine with rounded
corners and shadows. It doesn't fit the new "flat" paradigm and it's
unnecessarily complex.
Change-Id: I83ace95fdcccfc4cc41b17640a10154f7f64f89c
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerstatewidget.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerstatewidget.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerstatewidget.h b/src/plugins/qmlprofiler/qmlprofilerstatewidget.h index 6ff6e7e3b35..73ba88ae4bb 100644 --- a/src/plugins/qmlprofiler/qmlprofilerstatewidget.h +++ b/src/plugins/qmlprofiler/qmlprofilerstatewidget.h @@ -28,12 +28,12 @@ #include "qmlprofilerstatemanager.h" #include "qmlprofilermodelmanager.h" -#include <QWidget> +#include <QFrame> namespace QmlProfiler { namespace Internal { -class QmlProfilerStateWidget : public QWidget +class QmlProfilerStateWidget : public QFrame { Q_OBJECT public: @@ -46,9 +46,6 @@ private slots: void updateDisplay(); void reposition(); -protected: - void paintEvent(QPaintEvent *event); - private: class QmlProfilerStateWidgetPrivate; QmlProfilerStateWidgetPrivate *d; |