Ensure fake modal widget is a window

This commit is contained in:
Ilya Fedin 2024-08-01 04:49:52 +04:00 committed by John Preston
parent 503c3c7b00
commit 993c0ee648

View file

@ -109,6 +109,7 @@ void PortalAutostart(bool enabled, Fn<void(bool)> done) {
auto &raw = **window;
raw.setAttribute(Qt::WA_DontShowOnScreen);
raw.setWindowFlag(Qt::Window);
raw.setWindowModality(Qt::WindowModal);
raw.show();