Commit 6c53c85e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

use const+reference

parent af33d616
......@@ -115,7 +115,7 @@ QString UnicodeDialog::trimmedUnicodeNumber(QString text)
return text;
}
QString UnicodeDialog::unicodeInfo(QString unicode)
QString UnicodeDialog::unicodeInfo(const QString &unicode)
{
QString infoText(i18n("<small>(no character selected)</small>"));
if (unicode.length() == 0) return infoText;
......
......@@ -24,7 +24,7 @@ public:
~UnicodeDialog();
/** \brief Returns infos about a unicode number. Extendable/improvable ;) */
QString unicodeInfo(QString unicode);
QString unicodeInfo(const QString &unicode);
void showLastUnicode();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment