mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Eliminate the need of Q_OBJECT in main_window_linux and main_window_win
This commit is contained in:
@@ -764,7 +764,9 @@ void MainWindow::handleTrayIconActication(
|
||||
}
|
||||
if (reason == QSystemTrayIcon::Context) {
|
||||
updateTrayMenu(true);
|
||||
QTimer::singleShot(1, this, SLOT(psShowTrayMenu()));
|
||||
base::call_delayed(1, this, [=] {
|
||||
psShowTrayMenu();
|
||||
});
|
||||
} else if (!skipTrayClick()) {
|
||||
if (Platform::IsWayland() ? isVisible() : isActive()) {
|
||||
minimizeToTray();
|
||||
|
Reference in New Issue
Block a user