Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(ui): Set Qt::Window flag in multi windows mode
Browse files Browse the repository at this point in the history
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, ...).
  • Loading branch information
ezavod committed May 26, 2017
1 parent 65b1463 commit 6b767e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 6b767e4

Please sign in to comment.