]> git.sesse.net Git - kdenlive/blobdiff - src/unicodedialog.cpp
const'ify/use reference. Remove unused variable
[kdenlive] / src / unicodedialog.cpp
index 7576c3b2c9d7258c0c05722c79984f8c7096764b..1a954897a4f1c524dc0bc25b4d4c82a06adc69cb 100644 (file)
@@ -73,7 +73,7 @@ void UnicodeDialog::showLastUnicode()
     slotTextChanged(m_lastUnicodeNumber);
 }
 
-bool UnicodeDialog::controlCharacter(QString text)
+bool UnicodeDialog::controlCharacter(const QString &text)
 {
     bool isControlCharacter = false;
     QString t = text.toLower();