Plugins/VcsPlugins/vcsPySvn/SvnDialogMixin.py

branch
Py2 comp.
changeset 2791
a9577f248f04
parent 2525
8b507a9a2d40
parent 2734
eddb1a77f771
child 3058
0a02c433f52d
equal deleted inserted replaced
2790:6686a3326df8 2791:a9577f248f04
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_()

eric ide

mercurial