From: Samuel Alfageme Date: Wed, 15 Mar 2017 14:46:51 +0000 (+0100) Subject: Using different window flags on the connection method dialog (#5614) X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~791 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fce194ce08a281d0c429ab7f4c3a390bd6273bb0;p=nextcloud-desktop.git 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. --- 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);