mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Ensure fake modal widget is a window
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user