diff --git a/src/widget/form/genericchatform.cpp b/src/widget/form/genericchatform.cpp index 21c9f0c51..ec86c0304 100644 --- a/src/widget/form/genericchatform.cpp +++ b/src/widget/form/genericchatform.cpp @@ -46,7 +46,7 @@ #include GenericChatForm::GenericChatForm(QWidget *parent) - : QWidget(parent) + : QWidget(parent, Qt::Window) , audioInputFlag(false) , audioOutputFlag(false) { diff --git a/src/widget/form/settingswidget.cpp b/src/widget/form/settingswidget.cpp index c44b94806..1ba9be0f8 100644 --- a/src/widget/form/settingswidget.cpp +++ b/src/widget/form/settingswidget.cpp @@ -32,7 +32,7 @@ #include SettingsWidget::SettingsWidget(QWidget* parent) - : QWidget(parent) + : QWidget(parent, Qt::Window) { body = new QWidget(); QVBoxLayout* bodyLayout = new QVBoxLayout();