mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 07:56:03 +00:00
Get rid of custom SNI implementation
XDG is inventing new tray specification, so SNI will be outdated soon and it's better to just use QSystemTrayIcon. I believe all the major drawbacks of QSystemTrayIcon are solved and we can live with minor ones. Given the planned MainWindow refactoring, it seems it's the best time to do that.
This commit is contained in:
@@ -592,9 +592,7 @@ bool AutostartSkip() {
|
||||
}
|
||||
|
||||
bool TrayIconSupported() {
|
||||
return App::wnd()
|
||||
? App::wnd()->trayAvailable()
|
||||
: false;
|
||||
return QSystemTrayIcon::isSystemTrayAvailable();
|
||||
}
|
||||
|
||||
bool SkipTaskbarSupported() {
|
||||
|
Reference in New Issue
Block a user