Skip to content
Snippets Groups Projects
Commit d33e86a4 authored by Jochen Becher's avatar Jochen Becher
Browse files

ModelEditor: fix warnings from MSVC compiler


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