ScxmlEditor: silent fallthrough warnings

Change-Id: I7bd7140f05e8342a2e10713eb1646e0bd3f028ff
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Nikita Baryshnikov
2017-08-21 11:55:18 +03:00
parent 66423bcb3e
commit bf46cf8eaf
4 changed files with 9 additions and 2 deletions

View File

@@ -33,6 +33,8 @@
#include "serializer.h"
#include "stateitem.h"
#include <utils/qtcfallthrough.h>
#include <QDebug>
#include <QPainter>
#include <QPen>
@@ -491,7 +493,7 @@ QVariant ConnectableItem::itemChange(GraphicsItemChange change, const QVariant &
case ItemParentHasChanged:
updateTransitions(true);
updateTransitionAttributes(true);
// FIXME: intended fallthrough?
Q_FALLTHROUGH();
case ItemPositionHasChanged:
if (!m_releasedFromParent && !blockUpdates())
checkParentBoundingRect();