Should be faster than using a full string. Found by krazy.
---
 src/scopes/colorscopes/vectorscope.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/scopes/colorscopes/vectorscope.cpp 
b/src/scopes/colorscopes/vectorscope.cpp
index 55437ff..7666133 100644
--- a/src/scopes/colorscopes/vectorscope.cpp
+++ b/src/scopes/colorscopes/vectorscope.cpp
@@ -506,7 +506,7 @@ void Vectorscope::slotGainChanged(int newval)
 {
     QLocale locale;
     m_gain = 1 + (float)newval/10;
-    ui->lblGain->setText(locale.toString(m_gain, 'f', 1) + "x");
+    ui->lblGain->setText(locale.toString(m_gain, 'f', 1) + 'x');
     forceUpdateScope();
 }
 
-- 
1.7.10.4



Reply via email to