From fce194ce08a281d0c429ab7f4c3a390bd6273bb0 Mon Sep 17 00:00:00 2001 From: Samuel Alfageme Date: Wed, 15 Mar 2017 15:46:51 +0100 Subject: [PATCH] Using different window flags on the connection method dialog (#5614) This is a possible fix for #3850, applying custom window flags (http://doc.qt.io/qt-5.8/qt.html#WindowType-enum) on the connection method dialog. These avoid resizing the dialog and displaying a maximize button on OS X and context help button on Windows. --- src/gui/wizard/owncloudconnectionmethoddialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/wizard/owncloudconnectionmethoddialog.cpp b/src/gui/wizard/owncloudconnectionmethoddialog.cpp index 1acd2203a..1312da562 100644 --- a/src/gui/wizard/owncloudconnectionmethoddialog.cpp +++ b/src/gui/wizard/owncloudconnectionmethoddialog.cpp @@ -20,7 +20,7 @@ namespace OCC { OwncloudConnectionMethodDialog::OwncloudConnectionMethodDialog(QWidget *parent) : - QDialog(parent), + QDialog(parent, Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::WindowCloseButtonHint | Qt::MSWindowsFixedSizeDialogHint), ui(new Ui::OwncloudConnectionMethodDialog) { ui->setupUi(this); -- 2.30.2