remove unused _autodetecting_timer_callback

This commit is contained in:
Miguel Jacq 2021-12-14 13:31:46 +11:00
parent 28786f5a63
commit d699940615
No known key found for this signature in database
GPG key ID: EEA4341C6D97A0B6

View file

@ -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()