diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-30 20:49:34 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-30 20:49:34 +0200 |
commit | fed231d5fe5ec690ed0483d77b432fad852b630d (patch) | |
tree | 1584f91c56b2dda8a8b987783f6db3936a740bf7 | |
parent | ce06b6855216606186dc707955aab5af4f230ed6 (diff) |
gui: fix degree symbol in mapping window
-rw-r--r-- | gui/mapping-window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/mapping-window.cpp b/gui/mapping-window.cpp index 64e2dd48..fdd9be03 100644 --- a/gui/mapping-window.cpp +++ b/gui/mapping-window.cpp @@ -62,7 +62,7 @@ void MapWidget::load() for (QComboBox* x : { ui.max_yaw_rotation, ui.max_pitch_rotation, ui.max_roll_rotation }) for (a y : { a::r180, a::r90, a::r60, a::r45, a::r30, a::r25, a::r20, a::r15, a::r10 }) - x->addItem(QString::number(y) + "°", y); + x->addItem(tr(u8"%1°").arg(y), y); for (QComboBox* x : { ui.max_x_translation, ui.max_y_translation, ui.max_z_translation }) for (a y : { a::t30, a::t20, a::t15, a::t10, a::t100 }) |