|
|
@ -109,10 +109,14 @@ options_imp::options_imp(QWidget *parent): |
|
|
|
// Load options
|
|
|
|
// Load options
|
|
|
|
loadOptions(); |
|
|
|
loadOptions(); |
|
|
|
// Disable systray integration if it is not supported by the system
|
|
|
|
// Disable systray integration if it is not supported by the system
|
|
|
|
|
|
|
|
#ifndef Q_WS_MAC |
|
|
|
if (!QSystemTrayIcon::isSystemTrayAvailable()) { |
|
|
|
if (!QSystemTrayIcon::isSystemTrayAvailable()) { |
|
|
|
|
|
|
|
#endif |
|
|
|
checkShowSystray->setChecked(false); |
|
|
|
checkShowSystray->setChecked(false); |
|
|
|
checkShowSystray->setEnabled(false); |
|
|
|
checkShowSystray->setEnabled(false); |
|
|
|
|
|
|
|
#ifndef Q_WS_MAC |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
#if !defined(Q_WS_X11) |
|
|
|
#if !defined(Q_WS_X11) |
|
|
|
label_trayIconStyle->setVisible(false); |
|
|
|
label_trayIconStyle->setVisible(false); |
|
|
|
comboTrayIcon->setVisible(false); |
|
|
|
comboTrayIcon->setVisible(false); |
|
|
|