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