Use a unicode string instead of the escaped version.
authorChris H <zrenfire@gmail.com>
Sun, 16 Feb 2014 02:26:05 +0000 (21:26 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 18 Feb 2014 21:50:53 +0000 (22:50 +0100)
Compiling with MSVC Doesn't like unicode literals here.

src/qtui/chatscene.cpp

index 2f927a7..a7f2360 100644 (file)
@@ -818,7 +818,7 @@ void ChatScene::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
 
         QString searchSelectionText = selection();
         if (searchSelectionText.length() > _webSearchSelectionTextMaxVisible)
-            searchSelectionText = searchSelectionText.left(_webSearchSelectionTextMaxVisible).append(QString::fromUtf8("\u2026"));
+            searchSelectionText = searchSelectionText.left(_webSearchSelectionTextMaxVisible).append(QString::fromUtf8(""));
         searchSelectionText = tr("Search '%1'").arg(searchSelectionText);
 
         menu.addAction(SmallIcon("edit-find"), searchSelectionText, this, SLOT(webSearchOnSelection()));