summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/Fader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/Fader.cpp')
-rw-r--r--src/gui/widgets/Fader.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/Fader.cpp b/src/gui/widgets/Fader.cpp
index 915cf6e..46bb75e 100644
--- a/src/gui/widgets/Fader.cpp
+++ b/src/gui/widgets/Fader.cpp
@@ -397,17 +397,17 @@ Fader::showFloatText()
TQString text;
if (m_integral) {
- text = TQString("%1").tqarg(int(m_value));
+ text = TQString("%1").arg(int(m_value));
} else if (m_value == AudioLevel::DB_FLOOR) {
text = "Off";
} else {
float v = fabs(m_value);
text = TQString("%1%2.%3%4%5 dB")
- .tqarg(m_value < 0 ? '-' : '+')
- .tqarg(int(v))
- .tqarg(int(v * 10) % 10)
- .tqarg(int(v * 100) % 10)
- .tqarg(int(v * 1000) % 10);
+ .arg(m_value < 0 ? '-' : '+')
+ .arg(int(v))
+ .arg(int(v * 10) % 10)
+ .arg(int(v * 100) % 10)
+ .arg(int(v * 1000) % 10);
}
m_float->setText(text);