Commit a314d1fd authored by Ronan's avatar Ronan
Browse files

unstable

parent 5d3cefcc
......@@ -168,7 +168,8 @@ void App::setTrayIcon () {
// trayIcon: Left click actions.
root->connect(
m_system_tray_icon, &QSystemTrayIcon::activated, [root](
QSystemTrayIcon::ActivationReason reason) {
QSystemTrayIcon::ActivationReason reason
) {
if (reason == QSystemTrayIcon::Trigger) {
if (root->visibility() == QWindow::Hidden)
root->showNormal();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment