From 6b767e476551f9f7bb771803a3f356f3e45a8d9e Mon Sep 17 00:00:00 2001 From: ezavod Date: Fri, 26 May 2017 16:02:29 +0200 Subject: [PATCH] fix(ui): Set `Qt::Window` flag in multi windows mode This sets the flag to `Qt::Window` for open dialogs in multi windows mode. Commit changes the appearance of non-chat windows (Settings, Add Friend, ...). --- src/widget/widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/widget.cpp b/src/widget/widget.cpp index 5369e794e..dc4b78327 100644 --- a/src/widget/widget.cpp +++ b/src/widget/widget.cpp @@ -1515,7 +1515,7 @@ ContentLayout* Widget::createContentDialog(DialogType type) const { public: explicit Dialog(DialogType type) - : ActivateDialog() + : ActivateDialog(nullptr, Qt::Window) , type(type) { restoreGeometry(Settings::getInstance().getDialogSettingsGeometry());