r24136 by craig - Replace degrees symbol in code with that from units code
scribus-commit
scribus-commit at lists.scribus.net
Sat Oct 31 22:45:36 UTC 2020
Author: craig
Date: Sat Oct 31 22:45:36 2020
New Revision: 24136
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24136
Log:
Replace degrees symbol in code with that from units code
Modified:
trunk/Scribus/scribus/ui/measurements.cpp
Modified: trunk/Scribus/scribus/ui/measurements.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24136&path=/trunk/Scribus/scribus/ui/measurements.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/measurements.cpp (original)
+++ trunk/Scribus/scribus/ui/measurements.cpp Sat Oct 31 22:45:36 2020
@@ -71,7 +71,7 @@
double rr = angle;
if (angle < 0)
rr = rr + 360;
- angleData->setText(tmp.setNum(fabs(rr), 'f', 2)+ trUtf8(" °"));
+ angleData->setText(tmp.setNum(fabs(rr), 'f', 2) + " " + unitGetStrFromIndex(SC_DEG));
unitChanged();
}
More information about the scribus-commit
mailing list