Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tonquer committed Nov 27, 2022
1 parent 7b259af commit 9b75f5c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/component/system_tray_icon/my_system_tray_icon.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def __init__(self, parent=None):
super().__init__(parent)
self.count = 0
self.setIcon(QIcon(":/png/icon/logo_round.png"))
self.setToolTip("PicACG")
self.setToolTip("JMComic")
self.menu = QMenu()
mainUi = QAction(Str.GetStr(Str.MainUi), self)
mainUi.triggered.connect(self.ShowMainUi)
Expand Down
1 change: 0 additions & 1 deletion src/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
serverName = 'JMComic-qt'
socket = QLocalSocket()
socket.connectToServer(serverName)
socket.close()
if socket.waitForConnected(500):
socket.write(b"restart")
socket.flush()
Expand Down
1 change: 1 addition & 0 deletions src/view/main/main_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,3 +412,4 @@ def OnReadConnection(self):
data = conn.readAll()
if data == b"restart":
self.show()
self.showNormal()

0 comments on commit 9b75f5c

Please sign in to comment.