Move tray availability logging to the appropriate class

This commit is contained in:
Ilya Fedin 2022-05-24 10:25:38 +04:00 committed by John Preston
parent 4d997a26b0
commit 2477b35b42
2 changed files with 1 additions and 2 deletions

View file

@ -240,8 +240,6 @@ void MainWindow::initHook() {
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION #ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
XCBSetDesktopFileName(windowHandle()); XCBSetDesktopFileName(windowHandle());
#endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION #endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION
LOG(("System tray available: %1").arg(Logs::b(TrayIconSupported())));
} }
bool MainWindow::isActiveForTrayMenu() { bool MainWindow::isActiveForTrayMenu() {

View file

@ -288,6 +288,7 @@ rpl::producer<> TrayEventFilter::contextMenuFilters() const {
} }
Tray::Tray() { Tray::Tray() {
LOG(("System tray available: %1").arg(Logs::b(TrayIconSupported())));
} }
void Tray::createIcon() { void Tray::createIcon() {