mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-08 16:13:56 +02:00
Move tray availability logging to the appropriate class
This commit is contained in:
parent
4d997a26b0
commit
2477b35b42
2 changed files with 1 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue