forked from qt-creator/qt-creator
QmlDesigner: Fix crash on Design View reopening
Task-number: QDS-10383 Change-Id: I21665b59a078a640eef50632628532b12149c435 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
#include <android/androidconstants.h>
|
||||
|
||||
#include <QAction>
|
||||
#include <QPointer>
|
||||
#include <QTimer>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
@@ -127,7 +128,7 @@ public:
|
||||
QmlPreviewPlugin *q = nullptr;
|
||||
QThread m_parseThread;
|
||||
QString m_previewedFile;
|
||||
Core::IEditor *m_lastEditor = nullptr;
|
||||
QPointer<Core::IEditor> m_lastEditor;
|
||||
QmlPreviewRunControlList m_runningPreviews;
|
||||
bool m_dirty = false;
|
||||
QString m_localeIsoCode;
|
||||
|
Reference in New Issue
Block a user