mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-02 20:38:12 +00:00
Move tray availability logging to the appropriate class
This commit is contained in:
parent
4d997a26b0
commit
2477b35b42
@ -240,8 +240,6 @@ void MainWindow::initHook() {
|
||||
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||
XCBSetDesktopFileName(windowHandle());
|
||||
#endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||
|
||||
LOG(("System tray available: %1").arg(Logs::b(TrayIconSupported())));
|
||||
}
|
||||
|
||||
bool MainWindow::isActiveForTrayMenu() {
|
||||
|
@ -288,6 +288,7 @@ rpl::producer<> TrayEventFilter::contextMenuFilters() const {
|
||||
}
|
||||
|
||||
Tray::Tray() {
|
||||
LOG(("System tray available: %1").arg(Logs::b(TrayIconSupported())));
|
||||
}
|
||||
|
||||
void Tray::createIcon() {
|
||||
|
Loading…
Reference in New Issue
Block a user