Commit 5219ffb5 authored by Rafał Malinowski's avatar Rafał Malinowski

gui: #2581 fixed: properly ignore non-existing avatars

Signed-off-by: Rafał Malinowski's avatarRafał Malinowski <>
parent 30cf9fd2
......@@ -19,6 +19,7 @@
* build: by default compile with optimizations turned on (RelWithDebInfo instead of Debug) (beevvy)
* spellchecker: switch default backend from aspell to enchant (aspell is still available) (beevvy)
* core: #2551 done: use the most online account's status for the tray icon (ultr)
* gui: #2581 fixed: properly ignore non-existing avatars (Vogel)
+++ version 0.12.0-beta1
* tabs: "Close all tabs but active one" action added (Juzef)
......@@ -34,7 +34,10 @@
static QString getAvatarPath(Talkable talkable)
const Avatar &avatar = talkable.avatar();
return KaduPaths::webKitPath(avatar.filePath());
if (talkable.avatar().pixmap().isNull())
return QString();
return KaduPaths::webKitPath(avatar.filePath());
static QString getStatusIconPath(Talkable talkable)
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