forked from qt-creator/qt-creator
ScxmlEditor: silent fallthrough warnings
Change-Id: I7bd7140f05e8342a2e10713eb1646e0bd3f028ff Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user