2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

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();