version 2.32.5

change Graphic cursor coordinates to 'g' format
This commit is contained in:
2026-06-02 09:36:47 +03:00
parent a31a95a128
commit fa39c11372
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ cmake_policy(SET CMP0072 NEW) # FindOpenGL prefers GLVND by default
project(QAD)
set(QAD_MAJOR 2)
set(QAD_MINOR 32)
set(QAD_REVISION 4)
set(QAD_REVISION 5)
set(QAD_SUFFIX )
set(QAD_COMPANY SHS)
set(QAD_DOMAIN org.SHS)
+2 -2
View File
@@ -1849,7 +1849,7 @@ QString Graphic::pointCoords(QPointF point, bool x, bool y) {
QString ret = "(";
if (x) {
if (axis_type_x == Numeric)
ret += QString::number(point.x(), 'f', 3);
ret += QString::number(point.x(), 'g', 6);
else
ret +=
#if QT_VERSION_MAJOR <= 5
@@ -1860,7 +1860,7 @@ QString Graphic::pointCoords(QPointF point, bool x, bool y) {
}
if (y) {
if (ret.size() > 1) ret += " ; ";
ret += QString::number(point.y(), 'f', 3);
ret += QString::number(point.y(), 'g', 6);
}
ret += ")";
return ret;