diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2014-04-14 17:34:53 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2014-04-14 17:40:08 +0200 |
commit | 4a7cf0c630550b1611a5fb76b888dd41516c4af4 (patch) | |
tree | 04fb4bac41c9ea10547be19ecfa131f46ad3e1c1 /src/plugins/qmldesigner/components/stateseditor/stateseditorview.h | |
parent | e6f868572d055a1b95d6ec564d2572aa127fd096 (diff) | |
download | qt-creator-4a7cf0c630550b1611a5fb76b888dd41516c4af4.tar.gz |
QmlDesigner.StatesEditor: Do not allow adding states to Window
We only checked for ApplicationWindow. Instead of ApplicationWindow
we have to check for Window. ApplicationWindow is derived from Window.
Change-Id: I5d287af4284e31dcd77e06b498c5ae61dc348ad6
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Diffstat (limited to 'src/plugins/qmldesigner/components/stateseditor/stateseditorview.h')
-rw-r--r-- | src/plugins/qmldesigner/components/stateseditor/stateseditorview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h b/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h index 70b32e3222..c9656aa0ba 100644 --- a/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h +++ b/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h @@ -113,7 +113,7 @@ private: void resetModel(); void addState(); void duplicateCurrentState(); - void checkForApplicationWindow(); + void checkForWindow(); private: QWeakPointer<StatesEditorModel> m_statesEditorModel; |