Removed unneeded Cursor override/restore

This commit is contained in:
donoban 2019-03-31 19:58:52 +02:00
parent 8e383e3022
commit 1fbf6c9a59
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -290,8 +290,6 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
def __save_changes__(self):
ret = []
QtGui.QApplication.setOverrideCursor(QtCore.Qt.BusyCursor)
try:
ret_tmp = self.__apply_basic_tab__()
if ret_tmp:
@ -329,8 +327,6 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
except Exception as ex: # pylint: disable=broad-except
ret += [self.tr("Applications tab:"), repr(ex)]
QtGui.QApplication.restoreOverrideCursor()
utils.debug('\n'.join(ret))
return ret