Fix non-working Qt-on-Windows bug workaround.
This commit is contained in:
parent
73d00a4caf
commit
1bc8d6fb18
|
@ -630,7 +630,7 @@ void MainWindow::showFromTrayMenu() {
|
||||||
// It will receive input events, but it will be rendered as inactive.
|
// It will receive input events, but it will be rendered as inactive.
|
||||||
using namespace rpl::mappers;
|
using namespace rpl::mappers;
|
||||||
_showFromTrayLifetime = trayIconMenu->shownValue(
|
_showFromTrayLifetime = trayIconMenu->shownValue(
|
||||||
) | rpl::filter(_1) | rpl::take(1) | rpl::start_with_next([=] {
|
) | rpl::filter(!_1) | rpl::take(1) | rpl::start_with_next([=] {
|
||||||
showFromTray();
|
showFromTray();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue