Fixed signal/slot/thread issue in TorConnectionDialog and TorConnectionThread, and updated the language of bundled Tor error messages

This commit is contained in:
Micah Lee 2017-05-16 13:09:27 -07:00
parent cabb2701f2
commit b7a9574490
4 changed files with 43 additions and 23 deletions

View file

@ -61,7 +61,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
self.settings.load()
# Start the "Connecting to Tor" dialog, which calls onion.connect()
tor_con = TorConnectionDialog(self.settings, self.onion)
tor_con = TorConnectionDialog(self.qtapp, self.settings, self.onion)
tor_con.canceled.connect(self._tor_connection_canceled)
tor_con.open_settings.connect(self._tor_connection_open_settings)
tor_con.start()