mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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;
|
auto &raw = **window;
|
||||||
raw.setAttribute(Qt::WA_DontShowOnScreen);
|
raw.setAttribute(Qt::WA_DontShowOnScreen);
|
||||||
|
raw.setWindowFlag(Qt::Window);
|
||||||
raw.setWindowModality(Qt::WindowModal);
|
raw.setWindowModality(Qt::WindowModal);
|
||||||
raw.show();
|
raw.show();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue