Added debug logging to OnionShareGui, SettingsDialog, TorConnectionDialog, and Alert objects

This commit is contained in:
Micah Lee 2017-05-16 11:31:52 -07:00
parent 3c88bc828b
commit f5ae4403ea
4 changed files with 46 additions and 1 deletions

View file

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