Commit d33e86a4 authored by Jochen Becher's avatar Jochen Becher

ModelEditor: fix warnings from MSVC compiler

Change-Id: I4fe87d071fafa16ef2beaee2559dc96d0a10c4e0
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent 3c379418
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment