59 by subversion, username and password contain the relevant data |
59 by subversion, username and password contain the relevant data |
60 as strings and save is a flag indicating, that username and |
60 as strings and save is a flag indicating, that username and |
61 password should be saved. |
61 password should be saved. |
62 """ |
62 """ |
63 from .SvnLoginDialog import SvnLoginDialog |
63 from .SvnLoginDialog import SvnLoginDialog |
64 cursor = QApplication.overrideCursor() |
64 cursor = QCursor(QApplication.overrideCursor()) |
65 if cursor is not None: |
65 if cursor is not None: |
66 QApplication.restoreOverrideCursor() |
66 QApplication.restoreOverrideCursor() |
67 parent = isinstance(self, QWidget) and self or None |
67 parent = isinstance(self, QWidget) and self or None |
68 dlg = SvnLoginDialog(realm, username, may_save, parent) |
68 dlg = SvnLoginDialog(realm, username, may_save, parent) |
69 res = dlg.exec_() |
69 res = dlg.exec_() |