mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 00:45:11 -04:00
Added debug logging to OnionShareGui, SettingsDialog, TorConnectionDialog, and Alert objects
This commit is contained in:
parent
9c166a07d2
commit
f90d49fa4b
4 changed files with 46 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue