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:
Joerg Bornemann
2015-02-05 12:26:06 +01:00
parent 83e128ec79
commit 5b6d89dd95
4 changed files with 8 additions and 54 deletions

View File

@@ -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