Skip to content

Commit

Permalink
Removed unused unued vars
Browse files Browse the repository at this point in the history
  • Loading branch information
donob4n committed May 18, 2020
1 parent 450f0e3 commit 4478b28
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions qubesmanager/qube_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,9 +577,6 @@ def __init__(self, qt_app, qubes_app, dispatcher, _parent=None):
self.searchbox.textChanged.connect(self.do_search)
self.searchContainer.addWidget(self.searchbox)

self.vms_list = []
self.vms_in_table = {}

self.settings_windows = {}

self.frame_width = 0
Expand Down Expand Up @@ -806,11 +803,11 @@ def on_domain_updates_available(self, vm, _event, **_kwargs):
def on_domain_changed(self, vm, event, **_kwargs):
if not vm: # change of global properties occured
if event.endswith(':default_netvm'):
for vm_row in self.vms_in_table.values():
vm_row.update(event='property-set:netvm')
for vm_info in self.qubes_cache:
vm_info.update(event='property-set:netvm')
if event.endswith(':default_dispvm'):
for vm_row in self.vms_in_table.values():
vm_row.update(event='property-set:default_dispvm')
for vm_info in self.qubes_cache:
vm_info.update(event='property-set:default_dispvm')
return

try:
Expand Down

0 comments on commit 4478b28

Please sign in to comment.