Should be faster than using a full string. Found by krazy. --- src/unicodedialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/unicodedialog.cpp b/src/unicodedialog.cpp index 51d462d..7576c3b 100644 --- a/src/unicodedialog.cpp +++ b/src/unicodedialog.cpp @@ -210,7 +210,7 @@ void UnicodeDialog::updateOverviewChars(uint unicode) for (i = 1; i <= 4; i++) { if (unicode > i && !controlCharacter(unicode - i)) { - left = " " + left; + left = ' ' + left; left = QChar(unicode - i) + left; } } @@ -218,7 +218,7 @@ void UnicodeDialog::updateOverviewChars(uint unicode) for (i = 1; i <= 8; i++) { if (unicode + i <= MAX_UNICODE_V1 && !controlCharacter(unicode + i)) { right += QChar(unicode + i); - right += " "; + right += ' '; } } -- 1.7.10.4 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Kdenlive-devel mailing list Kdenlive-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kdenlive-devel