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