mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 00:06:16 -07:00
Disable system tray icon on Mac OS X
This commit is contained in:
parent
a5452d04ae
commit
5f5382297c
3 changed files with 9 additions and 1 deletions
|
@ -1002,7 +1002,7 @@ void MainWindow::loadPreferences(bool configure_session) {
|
|||
QBtSession::instance()->addConsoleMessage(tr("Options were saved successfully."));
|
||||
const Preferences pref;
|
||||
const bool newSystrayIntegration = pref.systrayIntegration();
|
||||
actionLock_qBittorrent->setEnabled(newSystrayIntegration);
|
||||
actionLock_qBittorrent->setVisible(newSystrayIntegration);
|
||||
if (newSystrayIntegration != (systrayIcon!=0)) {
|
||||
if (newSystrayIntegration) {
|
||||
// create the trayicon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue