forked from qt-creator/qt-creator
QmlProfiler: Don't hide/show trace view when loading and saving
This was a workaround to compensate for the fact that windows in window containers don't follow the stacking order and thus the state widget wasn't shown. With QQuickWidget we don't need to do this anymore. Change-Id: I2c1e57d891bee6284ef9f033b8747df4b153271b Task-number: QTCREATORBUG-11833 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -51,8 +51,7 @@ class QmlProfilerTraceView : public QWidget
|
||||
public:
|
||||
explicit QmlProfilerTraceView(QWidget *parent, QmlProfilerTool *profilerTool,
|
||||
QmlProfilerViewManager *container,
|
||||
QmlProfilerModelManager *modelManager,
|
||||
QmlProfilerStateManager *profilerState);
|
||||
QmlProfilerModelManager *modelManager);
|
||||
~QmlProfilerTraceView();
|
||||
|
||||
bool hasValidSelection() const;
|
||||
@@ -68,7 +67,6 @@ public slots:
|
||||
|
||||
private slots:
|
||||
void updateCursorPosition();
|
||||
void profilerDataModelStateChanged();
|
||||
|
||||
protected:
|
||||
virtual void contextMenuEvent(QContextMenuEvent *event);
|
||||
|
||||
Reference in New Issue
Block a user