File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ def _setup_tray(self):
2525 show_action = tray_menu .addAction ("显示主窗口" )
2626 show_action .triggered .connect (self ._show_window )
2727
28- toggle_floating_action = tray_menu .addAction ("切换悬浮圆环" )
29- toggle_floating_action .triggered .connect (self ._toggle_floating_rings )
28+ # toggle_floating_action = tray_menu.addAction("切换悬浮圆环")
29+ # toggle_floating_action.triggered.connect(self._toggle_floating_rings)
3030
3131 tray_menu .addSeparator ()
3232
@@ -65,11 +65,11 @@ def _toggle_floating_rings(self):
6565 def _hide_window (self ):
6666 """隐藏主窗口到托盘,并显示悬浮圆环"""
6767 self .main_window .hide ()
68- # 自动显示悬浮圆环
69- if not self .floating_rings :
70- self .floating_rings = FloatingTimeRings ()
71- if not self .floating_rings .isVisible ():
72- self .floating_rings .show ()
68+ # # 自动显示悬浮圆环
69+ # if not self.floating_rings:
70+ # self.floating_rings = FloatingTimeRings()
71+ # if not self.floating_rings.isVisible():
72+ # self.floating_rings.show()
7373
7474 def _on_tray_activated (self , reason ):
7575 """托盘图标被激活"""
You can’t perform that action at this time.
0 commit comments