forked from qt-creator/qt-creator
ModelEditor: fix warnings from MSVC compiler
Change-Id: I4fe87d071fafa16ef2beaee2559dc96d0a10c4e0 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -223,6 +223,9 @@ ILatchable::Action ObjectItem::horizontalLatchAction() const
|
||||
case RectangularSelectionItem::HandleNone:
|
||||
return Move;
|
||||
}
|
||||
// avoid warning from MSVC compiler
|
||||
QMT_CHECK(false);
|
||||
return Move;
|
||||
}
|
||||
|
||||
ILatchable::Action ObjectItem::verticalLatchAction() const
|
||||
@@ -242,6 +245,9 @@ ILatchable::Action ObjectItem::verticalLatchAction() const
|
||||
case RectangularSelectionItem::HandleNone:
|
||||
return Move;
|
||||
}
|
||||
// avoid warning from MSVC compiler
|
||||
QMT_CHECK(false);
|
||||
return Move;
|
||||
}
|
||||
|
||||
QList<ILatchable::Latch> ObjectItem::horizontalLatches(ILatchable::Action action, bool grabbedItem) const
|
||||
|
||||
Reference in New Issue
Block a user