Commit a34522be authored by Dan Pascu's avatar Dan Pascu

Fixed compatibility with older python-qt

parent caf3e488
...@@ -1463,7 +1463,8 @@ ui_class, base_class = uic.loadUiType(Resources.get('incoming_dialog.ui')) ...@@ -1463,7 +1463,8 @@ ui_class, base_class = uic.loadUiType(Resources.get('incoming_dialog.ui'))
class IncomingDialog(base_class, ui_class): class IncomingDialog(base_class, ui_class):
def __init__(self, parent=None): def __init__(self, parent=None):
super(IncomingDialog, self).__init__(parent, flags=Qt.WindowStaysOnTopHint) super(IncomingDialog, self).__init__(parent)
self.setWindowFlags(Qt.WindowStaysOnTopHint)
self.setAttribute(Qt.WA_DeleteOnClose) self.setAttribute(Qt.WA_DeleteOnClose)
with Resources.directory: with Resources.directory:
self.setupUi(self) self.setupUi(self)
......
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