mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-02-04 19:27:33 +01:00
fix main window visibility switching
This commit is contained in:
parent
122b886cab
commit
65e232d2d2
@ -1014,8 +1014,9 @@ void FormMain::changeEvent(QEvent* event) {
|
||||
SystemTrayIcon::isSystemTrayDesired() && SystemTrayIcon::isSystemTrayAreaAvailable() &&
|
||||
qApp->settings()->value(GROUP(GUI), SETTING(GUI::HideMainWindowWhenMinimized)).toBool()) {
|
||||
event->ignore();
|
||||
|
||||
QTimer::singleShot(CHANGE_EVENT_DELAY, this, [this]() {
|
||||
switchVisibility();
|
||||
switchVisibility(true);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user