Commit 443ace73 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Fix unchecked dynamic_cast

CID:249018
parent 5123c425
......@@ -242,7 +242,7 @@ void KisToolMove::notifyGuiAfterMove(bool showFloatingMessage)
const bool showCoordinates = m_optionsWidget->showCoordinates();
if (showCoordinates && showFloatingMessage) {
KisCanvas2 *kisCanvas = dynamic_cast<KisCanvas2*>(canvas());
KisCanvas2 *kisCanvas = static_cast<KisCanvas2*>(canvas());
kisCanvas->viewManager()->
showFloatingMessage(
i18nc("floating message in move tool",
......
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