From ebee6f0bc266bd68809a3f553bce14bde5116fdf Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Tue, 1 Sep 2015 11:32:59 +0200 Subject: [PATCH] Settings dialog: remove the close button #3713 --- src/gui/settingsdialog.cpp | 3 --- src/gui/settingsdialog.ui | 26 ++------------------------ 2 files changed, 2 insertions(+), 27 deletions(-) diff --git a/src/gui/settingsdialog.cpp b/src/gui/settingsdialog.cpp index d798bd8a4c..f00fd7ad38 100644 --- a/src/gui/settingsdialog.cpp +++ b/src/gui/settingsdialog.cpp @@ -111,9 +111,6 @@ SettingsDialog::SettingsDialog(ownCloudGui *gui, QWidget *parent) : QTimer::singleShot(1, this, SLOT(showFirstPage())); - QPushButton *closeButton = _ui->buttonBox->button(QDialogButtonBox::Close); - connect(closeButton, SIGNAL(clicked()), SLOT(accept())); - QAction *showLogWindow = new QAction(this); showLogWindow->setShortcut(QKeySequence("F12")); connect(showLogWindow, SIGNAL(triggered()), gui, SLOT(slotToggleLogBrowser())); diff --git a/src/gui/settingsdialog.ui b/src/gui/settingsdialog.ui index cdabf661f9..83590c23bf 100644 --- a/src/gui/settingsdialog.ui +++ b/src/gui/settingsdialog.ui @@ -6,8 +6,8 @@ 0 0 - 693 - 457 + 488 + 342 @@ -29,28 +29,6 @@ 0 - - - - - 0 - - - 0 - - - - - Qt::Horizontal - - - QDialogButtonBox::Close - - - - - -