Removed unneeded Cursor override/restore
This commit is contained in:
parent
8e383e3022
commit
1fbf6c9a59
@ -290,8 +290,6 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
|
|||||||
def __save_changes__(self):
|
def __save_changes__(self):
|
||||||
ret = []
|
ret = []
|
||||||
|
|
||||||
QtGui.QApplication.setOverrideCursor(QtCore.Qt.BusyCursor)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
ret_tmp = self.__apply_basic_tab__()
|
ret_tmp = self.__apply_basic_tab__()
|
||||||
if ret_tmp:
|
if ret_tmp:
|
||||||
@ -329,8 +327,6 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
|
|||||||
except Exception as ex: # pylint: disable=broad-except
|
except Exception as ex: # pylint: disable=broad-except
|
||||||
ret += [self.tr("Applications tab:"), repr(ex)]
|
ret += [self.tr("Applications tab:"), repr(ex)]
|
||||||
|
|
||||||
QtGui.QApplication.restoreOverrideCursor()
|
|
||||||
|
|
||||||
utils.debug('\n'.join(ret))
|
utils.debug('\n'.join(ret))
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user