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 18ba940669
commit 22fb34d50d
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
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()