Commit 48eb22a2 authored by Dan Pascu's avatar Dan Pascu

Fixed return value from drop handler to be boolean

parent 15a6f098
......@@ -1690,7 +1690,7 @@ class AudioSessionModel(QAbstractListModel):
try:
contacts = pickle.loads(str(mime_data.data('application/x-blink-contact-list')))
except Exception:
return
return False
session = self.sessions[index.row()]
session_manager = SessionManager()
for contact in contacts:
......@@ -1703,7 +1703,7 @@ class AudioSessionModel(QAbstractListModel):
try:
contact_uris = pickle.loads(str(mime_data.data('application/x-blink-contact-uri-list')))
except Exception:
return
return False
session = self.sessions[index.row()]
session_manager = SessionManager()
for contact_uri in contact_uris:
......
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