Removed unneded calls to Override/Restore cursor

This commit is contained in:
donoban 2019-03-31 20:01:38 +02:00
parent 16f2997222
commit c85d6e4e8b
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -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():