diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2021-03-11 21:25:58 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2021-03-12 00:03:12 +0100 |
commit | e982c0f996e79779f8527277b65d29bc7dcb27f5 (patch) | |
tree | 4a7ae2dbf8171d317f816e2ee8ff2040fb519fdf /src/widget | |
parent | 4ceb65da057dd4e0403419d69be74949c9879699 (diff) |
WRateRange: Remove % signal to make room for a second digit
Diffstat (limited to 'src/widget')
-rw-r--r-- | src/widget/wraterange.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget/wraterange.cpp b/src/widget/wraterange.cpp index 42c5f7d678..1d5b0bfea1 100644 --- a/src/widget/wraterange.cpp +++ b/src/widget/wraterange.cpp @@ -58,9 +58,9 @@ void WRateRange::setValue(double range) { if (m_nodeDisplay == DisplayType::Prefix) { m_nodeText = prefix; } else if (m_nodeDisplay == DisplayType::Range) { - m_nodeText = QString::number(range * 100).append("\%"); + m_nodeText = QString::number(range * 100); } else { - m_nodeText = prefix.append(QString::number(range * 100)).append("\%"); + m_nodeText = prefix.append(QString::number(range * 100)); } setText(m_nodeText); |