Fix pylint warnings
This commit is contained in:
parent
526dbd5aad
commit
bdaa421a9c
@ -819,11 +819,16 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow):
|
||||
self.context_menu.addSeparator()
|
||||
|
||||
def save_showing(self):
|
||||
self.manager_settings.setValue('show/running', self.show_running.isChecked())
|
||||
self.manager_settings.setValue('show/halted', self.show_halted.isChecked())
|
||||
self.manager_settings.setValue('show/network', self.show_network.isChecked())
|
||||
self.manager_settings.setValue('show/templates', self.show_templates.isChecked())
|
||||
self.manager_settings.setValue('show/standalone', self.show_standalone.isChecked())
|
||||
self.manager_settings.setValue('show/running',
|
||||
self.show_running.isChecked())
|
||||
self.manager_settings.setValue('show/halted',
|
||||
self.show_halted.isChecked())
|
||||
self.manager_settings.setValue('show/network',
|
||||
self.show_network.isChecked())
|
||||
self.manager_settings.setValue('show/templates',
|
||||
self.show_templates.isChecked())
|
||||
self.manager_settings.setValue('show/standalone',
|
||||
self.show_standalone.isChecked())
|
||||
self.manager_settings.setValue('show/all', self.show_all.isChecked())
|
||||
|
||||
def save_sorting(self):
|
||||
@ -1314,7 +1319,7 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow):
|
||||
"\nError: {}".format(str(ex))))
|
||||
return
|
||||
|
||||
def closeEvent(self, event):
|
||||
def closeEvent(self, _):
|
||||
self.save_showing()
|
||||
|
||||
# noinspection PyArgumentList
|
||||
|
Loading…
Reference in New Issue
Block a user