aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/scxmleditor
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-07-18 15:23:29 +0200
committerEike Ziller <eike.ziller@qt.io>2017-07-18 15:23:29 +0200
commit361fdad3be3421496be4dab014a8bee369687387 (patch)
tree4412737d90b20953064b8f53817c014ddc9714c3 /src/plugins/scxmleditor
parent5e38bdbfd8bef6c3bdcede9fe0be11f34e9a0f7c (diff)
parent41ae823bda7cc1bad4b85861d9b0e3087c130e4a (diff)
Merge remote-tracking branch 'origin/4.4'
Diffstat (limited to 'src/plugins/scxmleditor')
-rw-r--r--src/plugins/scxmleditor/common/structuremodel.cpp3
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;