From d699940615bd15c313ffa663462ae80721350619 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Tue, 14 Dec 2021 13:31:46 +1100 Subject: [PATCH] remove unused _autodetecting_timer_callback --- desktop/src/onionshare/connection_tab.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/desktop/src/onionshare/connection_tab.py b/desktop/src/onionshare/connection_tab.py index 567b2713..873bc60b 100644 --- a/desktop/src/onionshare/connection_tab.py +++ b/desktop/src/onionshare/connection_tab.py @@ -436,10 +436,6 @@ class AutoConnectUseBridgeWidget(QtWidgets.QWidget): ) self.country_image_label.setPixmap(QtGui.QPixmap.fromImage(QtGui.QImage(path))) - def _autodetecting_timer_callback(self): - new_index = random.randrange(0, self.country_combobox.count()) - self.country_combobox.setCurrentIndex(new_index) - def _detect_automatic_toggled(self): self.country_combobox.setEnabled(False) self.country_combobox.hide()