mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-03 11:56:06 -04:00
Added onionshare logo as settings window icon
This commit is contained in:
parent
984d2b6084
commit
eb342d3e57
2 changed files with 3 additions and 6 deletions
|
@ -69,7 +69,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
|||
self.app = app
|
||||
|
||||
self.setWindowTitle('OnionShare')
|
||||
self.setWindowIcon(window_icon)
|
||||
self.setWindowIcon(QtGui.QIcon(helpers.get_resource_path('images/logo.png')))
|
||||
|
||||
# the menu bar
|
||||
self.setMenuBar(Menu(self.qtapp))
|
||||
|
@ -428,10 +428,6 @@ def main():
|
|||
debug = bool(args.debug)
|
||||
transparent_torification = bool(args.transparent_torification)
|
||||
|
||||
# create the onionshare icon
|
||||
global window_icon
|
||||
window_icon = QtGui.QIcon(helpers.get_resource_path('images/logo.png'))
|
||||
|
||||
# validation
|
||||
if filenames:
|
||||
valid = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue