Fixed an issue in the pysvn dialog mixin. 6_0_x

Mon, 24 Aug 2015 17:27:17 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 24 Aug 2015 17:27:17 +0200
branch
6_0_x
changeset 4389
71cec460a5f3
parent 4387
ae285de49fcf
child 4391
396718aa7910

Fixed an issue in the pysvn dialog mixin.
(grafted from 41c5865695b0cb44193f59ef19962ace1efe7f30)

Plugins/VcsPlugins/vcsPySvn/SvnDialogMixin.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsPySvn/SvnDialogMixin.py	Sun Aug 23 11:00:13 2015 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnDialogMixin.py	Mon Aug 24 17:27:17 2015 +0200
@@ -10,7 +10,6 @@
 
 from __future__ import unicode_literals
 
-from PyQt5.QtGui import QCursor
 from PyQt5.QtWidgets import QApplication, QDialog, QWidget
 
 
@@ -64,7 +63,7 @@
             password should be saved.
         """
         from .SvnLoginDialog import SvnLoginDialog
-        cursor = QCursor(QApplication.overrideCursor())
+        cursor = QApplication.overrideCursor()
         if cursor is not None:
             QApplication.restoreOverrideCursor()
         parent = isinstance(self, QWidget) and self or None
@@ -91,7 +90,7 @@
         """
         from E5Gui import E5MessageBox
 
-        cursor = QCursor(QApplication.overrideCursor())
+        cursor = QApplication.overrideCursor()
         if cursor is not None:
             QApplication.restoreOverrideCursor()
         parent = isinstance(self, QWidget) and self or None

eric ide

mercurial