Commit 6afcc0dc authored by Karl Ove Hufthammer's avatar Karl Ove Hufthammer

Use locale-based formatting of pixel offset when moving objects

For most languages, negative numbers are now formatted with
a proper minus sign instead of a hyphen, and large numbers
are formatted using a thousands separator.
parent ba0c2210
...@@ -247,8 +247,8 @@ void KisToolMove::notifyGuiAfterMove(bool showFloatingMessage) ...@@ -247,8 +247,8 @@ void KisToolMove::notifyGuiAfterMove(bool showFloatingMessage)
showFloatingMessage( showFloatingMessage(
i18nc("floating message in move tool", i18nc("floating message in move tool",
"X: %1 px, Y: %2 px", "X: %1 px, Y: %2 px",
currentTopLeft.x(), QLocale().toString(currentTopLeft.x()),
currentTopLeft.y()), QLocale().toString(currentTopLeft.y())),
QIcon(), 1000, KisFloatingMessage::High); QIcon(), 1000, KisFloatingMessage::High);
} }
} }
......
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