Commit aa6933ab authored by Dan Pascu's avatar Dan Pascu

Fixed emitting the rejected signal for incoming file transfer dialogs

parent ed264752
...@@ -4802,7 +4802,7 @@ del ui_class, base_class ...@@ -4802,7 +4802,7 @@ del ui_class, base_class
class IncomingFileTransferRequest(QObject): class IncomingFileTransferRequest(QObject):
accepted = pyqtSignal(object) accepted = pyqtSignal(object)
rejected = pyqtSignal(object) rejected = pyqtSignal(object, str)
priority = 4 priority = 4
stream_types = {'file-transfer'} stream_types = {'file-transfer'}
...@@ -4854,7 +4854,7 @@ class IncomingFileTransferRequest(QObject): ...@@ -4854,7 +4854,7 @@ class IncomingFileTransferRequest(QObject):
self.accepted.emit(self) self.accepted.emit(self)
def _SH_DialogRejected(self): def _SH_DialogRejected(self):
self.rejected.emit(self, self.reject_mode) self.rejected.emit(self, self.dialog.reject_mode)
ui_class, base_class = uic.loadUiType(Resources.get('conference_dialog.ui')) ui_class, base_class = uic.loadUiType(Resources.get('conference_dialog.ui'))
......
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