1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

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, ...).
This commit is contained in:
ezavod 2017-05-26 16:02:29 +02:00
parent 65b1463933
commit 6b767e4765
No known key found for this signature in database
GPG Key ID: 5DFDD9A0D8E5A9B6

View File

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