mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Ensure fake modal widget is a window
This commit is contained in:
parent
503c3c7b00
commit
993c0ee648
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue