From: Chris H Date: Sun, 16 Feb 2014 02:26:05 +0000 (-0500) Subject: Use a unicode string instead of the escaped version. X-Git-Tag: 0.10-beta1~3 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=4ee4a3edb832d7ac01951007cf55f7fa4b5918b4;hp=aff2b5e81f0e45f95c0e15303a9ec4e7ea36c555;ds=sidebyside Use a unicode string instead of the escaped version. Compiling with MSVC Doesn't like unicode literals here. --- diff --git a/src/qtui/chatscene.cpp b/src/qtui/chatscene.cpp index 2f927a71..a7f2360a 100644 --- a/src/qtui/chatscene.cpp +++ b/src/qtui/chatscene.cpp @@ -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()));