Commit 3768e32f authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.DesignDocument: getting rid of the magical StackedWidget

This StackedWidget is a leftover from the stand alone version.
In the context of Qt Creator this makes no sense anymore.

Change-Id: I6660dd4b43bdc12fa3329d333158fa759bee4d88
Reviewed-by: default avatarMarco Bubke <>
parent 702030f9
......@@ -334,9 +334,6 @@ void DesignDocument::activateCurrentModel(TextModifier *textModifier)
if (!plainTextEdit()->parent()) // hack to prevent changing owner of external text edit
......@@ -145,7 +145,6 @@ private: // functions
Model *createInFileComponentModel();
private: // variables
QScopedPointer<QStackedWidget> m_stackedWidget;
QScopedPointer<Model> m_documentModel;
QScopedPointer<Model> m_inFileComponentModel;
QWeakPointer<Core::IEditor> m_textEditor;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment