mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-22 00:00:51 -04:00
Added debug logging to OnionShareGui, SettingsDialog, TorConnectionDialog, and Alert objects
This commit is contained in:
parent
3c88bc828b
commit
f5ae4403ea
4 changed files with 46 additions and 1 deletions
|
@ -32,6 +32,8 @@ class TorConnectionDialog(QtWidgets.QProgressDialog):
|
|||
|
||||
def __init__(self, settings, onion):
|
||||
super(TorConnectionDialog, self).__init__(None)
|
||||
common.log('TorConnectionDialog', '__init__')
|
||||
|
||||
self.settings = settings
|
||||
self.onion = onion
|
||||
|
||||
|
@ -49,6 +51,8 @@ class TorConnectionDialog(QtWidgets.QProgressDialog):
|
|||
self.setMinimumDuration(100)
|
||||
|
||||
def start(self):
|
||||
common.log('TorConnectionDialog', 'start')
|
||||
|
||||
# If bundled tor, prepare to display Tor connection status
|
||||
if self.settings.get('connection_type') == 'bundled':
|
||||
tor_status_update = self.tor_status_update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue