mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 00:33:09 -07:00
Fix cmd+w not closing the main window on macOS
This commit is contained in:
parent
84c84160fd
commit
ff7e5da6de
3 changed files with 24 additions and 1 deletions
|
@ -187,7 +187,9 @@ private slots:
|
|||
void toolbarTextBeside();
|
||||
void toolbarTextUnder();
|
||||
void toolbarFollowSystem();
|
||||
#ifndef Q_OS_MAC
|
||||
#ifdef Q_OS_MAC
|
||||
void on_actionCloseWindow_triggered();
|
||||
#else
|
||||
void toggleVisibility(const QSystemTrayIcon::ActivationReason reason = QSystemTrayIcon::Trigger);
|
||||
void createSystrayDelayed();
|
||||
void updateTrayIconMenu();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue