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 9c166a07d2
commit f90d49fa4b
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
4 changed files with 46 additions and 1 deletions

View file

@ -27,6 +27,8 @@ class Alert(QtWidgets.QMessageBox):
"""
def __init__(self, message, icon=QtWidgets.QMessageBox.NoIcon, buttons=QtWidgets.QMessageBox.Ok, autostart=True):
super(Alert, self).__init__(None)
common.log('Alert', '__init__')
self.setWindowTitle("OnionShare")
self.setWindowIcon(QtGui.QIcon(common.get_resource_path('images/logo.png')))
self.setText(message)