forked from qt-creator/qt-creator
QmlProfiler: use QQuickWidget instead of window container
Using QQuickWidget removes the need for some work-arounds. Task-number: QTCREATORBUG-11822 Change-Id: I1e344f0a9c11b4aa8601e8e1056602d855fb3f4d Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
#define QMLPROFILERTRACEVIEW_H
|
||||
|
||||
#include "qmlprofilermodelmanager.h"
|
||||
#include <QQuickView>
|
||||
#include <QWidget>
|
||||
#include <QTimer>
|
||||
|
||||
@@ -85,14 +84,6 @@ private:
|
||||
QmlProfilerTraceViewPrivate *d;
|
||||
};
|
||||
|
||||
class QmlProfilerQuickView : public QQuickView {
|
||||
public:
|
||||
QmlProfilerQuickView(QmlProfilerTraceView *parent) : parent(parent) {}
|
||||
protected:
|
||||
QmlProfilerTraceView *parent;
|
||||
bool event(QEvent *ev);
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlProfiler
|
||||
|
||||
|
||||
Reference in New Issue
Block a user