┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/trash
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2015-02-03 09:25:33 +0100
committerEmmanuel Pescosta <[email protected]>2015-02-03 09:25:33 +0100
commit3515582495f9aa02369a342d73c11079fcdcd654 (patch)
treec7e9a855e137c773b09942ff1a5d7302c562ac14 /src/settings/trash
parent122e1c6288b7330ab1eb38cdd7361efb5c092876 (diff)
Ported Dolphin from KDialog to QDialog and save/restoreDialogSize to KWindowConfig::save/restoreWindowSize with the help of the porting scripts.
REVIEW: 122305
Diffstat (limited to 'src/settings/trash')
-rw-r--r--src/settings/trash/trashsettingspage.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/settings/trash/trashsettingspage.cpp b/src/settings/trash/trashsettingspage.cpp
index aa4b5a22a..237a17987 100644
--- a/src/settings/trash/trashsettingspage.cpp
+++ b/src/settings/trash/trashsettingspage.cpp
@@ -20,21 +20,16 @@
#include "trashsettingspage.h"
#include <KCModuleProxy>
-#include <KDialog>
-#include <QVBoxLayout>
#include <QVBoxLayout>
TrashSettingsPage::TrashSettingsPage(QWidget* parent) :
SettingsPageBase(parent)
{
- const int spacing = KDialog::spacingHint();
-
QVBoxLayout* topLayout = new QVBoxLayout(this);
QWidget* vBox = new QWidget(this);
QVBoxLayout *vBoxVBoxLayout = new QVBoxLayout(vBox);
vBoxVBoxLayout->setMargin(0);
- vBoxVBoxLayout->setSpacing(spacing);
m_proxy = new KCModuleProxy("kcmtrash");
topLayout->addWidget(m_proxy);