diff options
author | Eike Ziller <eike.ziller@qt.io> | 2017-07-18 15:23:29 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2017-07-18 15:23:29 +0200 |
commit | 361fdad3be3421496be4dab014a8bee369687387 (patch) | |
tree | 4412737d90b20953064b8f53817c014ddc9714c3 /src/plugins/scxmleditor | |
parent | 5e38bdbfd8bef6c3bdcede9fe0be11f34e9a0f7c (diff) | |
parent | 41ae823bda7cc1bad4b85861d9b0e3087c130e4a (diff) |
Merge remote-tracking branch 'origin/4.4'
Change-Id: I778acc044ac105a11054b314aecac5b1c2cfee6a
Diffstat (limited to 'src/plugins/scxmleditor')
-rw-r--r-- | src/plugins/scxmleditor/common/structuremodel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/scxmleditor/common/structuremodel.cpp b/src/plugins/scxmleditor/common/structuremodel.cpp index f7b2e563e9..5f63319c16 100644 --- a/src/plugins/scxmleditor/common/structuremodel.cpp +++ b/src/plugins/scxmleditor/common/structuremodel.cpp @@ -27,6 +27,8 @@ #include "scxmldocument.h" #include "scxmltag.h" +#include <utils/qtcfallthrough.h> + #include <QMimeData> #include <QUndoStack> @@ -245,6 +247,7 @@ Qt::ItemFlags StructureModel::flags(const QModelIndex &index) const case Final: case History: defaultFlags |= Qt::ItemIsDragEnabled; + Q_FALLTHROUGH(); case Scxml: defaultFlags |= Qt::ItemIsDropEnabled; break; |