Removed unneded calls to Override/Restore cursor
This commit is contained in:
parent
16f2997222
commit
c85d6e4e8b
@ -134,8 +134,6 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
|
|||||||
def __init__(self, vm, qapp, init_page="basic", parent=None):
|
def __init__(self, vm, qapp, init_page="basic", parent=None):
|
||||||
super(VMSettingsWindow, self).__init__(parent)
|
super(VMSettingsWindow, self).__init__(parent)
|
||||||
|
|
||||||
QtGui.QApplication.setOverrideCursor(QtCore.Qt.BusyCursor)
|
|
||||||
|
|
||||||
self.vm = vm
|
self.vm = vm
|
||||||
self.qapp = qapp
|
self.qapp = qapp
|
||||||
self.threads_list = []
|
self.threads_list = []
|
||||||
@ -233,8 +231,6 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
|
|||||||
self.refresh_apps_button.clicked.connect(
|
self.refresh_apps_button.clicked.connect(
|
||||||
self.refresh_apps_button_pressed)
|
self.refresh_apps_button_pressed)
|
||||||
|
|
||||||
QtGui.QApplication.restoreOverrideCursor()
|
|
||||||
|
|
||||||
def clear_threads(self):
|
def clear_threads(self):
|
||||||
for thread in self.threads_list:
|
for thread in self.threads_list:
|
||||||
if thread.isFinished():
|
if thread.isFinished():
|
||||||
|
Loading…
Reference in New Issue
Block a user