aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/scxmleditor/common/structuremodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scxmleditor/common/structuremodel.cpp')
-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;