Commit c34a12f5 authored by Dan Pascu's avatar Dan Pascu

Use file URLs for icons in the chat window

parent e1552f3f
...@@ -321,7 +321,7 @@ class ChatSender(object): ...@@ -321,7 +321,7 @@ class ChatSender(object):
def __init__(self, name, uri, iconpath): def __init__(self, name, uri, iconpath):
self.name = name self.name = name
self.uri = uri self.uri = uri
self.iconpath = iconpath self.iconpath = QUrl.fromLocalFile(iconpath).toString()
def __eq__(self, other): def __eq__(self, other):
if not isinstance(other, ChatSender): if not isinstance(other, ChatSender):
......
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