Commit 443ace73 authored by Halla Rempt's avatar Halla Rempt
Browse files

Fix unchecked dynamic_cast

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());
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