Commit 96b1cc02 authored by Rafał Malinowski's avatar Rafał Malinowski

hints: #2924 fixed: not displaying avatars (again)

Signed-off-by: Rafał Malinowski's avatarRafał Przemysław Malinowski <rafal.przemyslaw.malinowski@gmail.com>
parent cf1ddd35
......@@ -2,10 +2,10 @@
* gui: #2940 fixed: crash on exit when not using tabs plugin (Vogel)
* otr: #2947 fixed: <span> marks in GG messages when otr is enabled (Vogel)
* translations: complete Turkish translation (kardanadam26)
* hints: #2924 fixed: not displaying avatars (Vogel)
+++ version 2.0-rc1
* translations: #2943 fixed: re-added Qt translation files (Vogel)
* hints: #2924 fixed: not displaying avatars (Vogel)
* translations: add Turkish translation (kardanadam26)
+++ version 2.0-beta1
......
......@@ -501,6 +501,10 @@ void HintManager::prepareOverUserHint(QFrame *tipFrame, QLabel *tipLabel, Talkab
while (text.startsWith(QLatin1String("<br/>")))
text = text.right(text.length() - 5 /* 5 == QString("<br/>").length()*/);
#ifdef Q_OS_UNIX
text = text.remove("file://");
#endif
tipLabel->setFont(Application::instance()->configuration()->deprecatedApi()->readFontEntry("Hints", "HintOverUser_font"));
tipLabel->setText(text);
......
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