Commit 2385e198 authored by Jouni Pentikäinen's avatar Jouni Pentikäinen

Fix warning about missing i18n argument

parent c1dee307
......@@ -35,6 +35,7 @@
#include "KoPointerEvent.h"
#include "KoCanvasBase.h"
#include <KoViewConverter.h>
#include "krita_utils.h"
#define INNER_RADIUS 50
......@@ -77,7 +78,7 @@ void KisToolMeasureOptionsWidget::slotSetDistance(double distance)
void KisToolMeasureOptionsWidget::slotSetAngle(double angle)
{
m_angleLabel->setText(QString(i18nc("angle value in degrees", "%1°")).arg(angle, 5, 'f', 1));
m_angleLabel->setText(i18nc("angle value in degrees", "%1°", KritaUtils::prettyFormatReal(angle)));
}
void KisToolMeasureOptionsWidget::slotUnitChanged(int index)
......
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