From 4001d5b6937f350c46a0bfc167a3b85276d43e7a Mon Sep 17 00:00:00 2001 From: Alessandro Bresciani Date: Thu, 3 Oct 2024 11:47:07 +0200 Subject: [PATCH] getting rid of some tests and cleanup --- core/arp_scanner.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/arp_scanner.py b/core/arp_scanner.py index f81e894..fd31531 100644 --- a/core/arp_scanner.py +++ b/core/arp_scanner.py @@ -74,7 +74,6 @@ def setup_ui_elements(self): # Add static labels and list widgets self.add_static_ui_labels() - self.add_list_widget_to_tab_1() # Connect item click signal to open_device_details self._ui.list.itemClicked.connect(self.open_device_details) @@ -95,12 +94,6 @@ def add_static_ui_labels(self): self._ui.verticalLayout.addWidget(os_label) self._ui.verticalLayout.addWidget(interface_label) - def add_list_widget_to_tab_1(self): - """Adds a QListWidget to the first tab of the UI.""" - self.list_widget_tab7 = QListWidget() # pylint: disable=attribute-defined-outside-init - tab7_layout = QVBoxLayout(self._ui.tab_1) - tab7_layout.addWidget(self.list_widget_tab7) - def setup_font_for_list_widgets(self): """Sets up a uniform font for list widgets.""" font = QFont()