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.
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);