┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/trash/trashsettingspage.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-11-05 17:32:46 +0000
committerPeter Penz <[email protected]>2010-11-05 17:32:46 +0000
commite3bd93fe73f41730555e8c225ee51f93e29c228c (patch)
tree066038e28b143c77de981c3e293bd836830fb602 /src/settings/trash/trashsettingspage.cpp
parentd83a4ce51dc3d5c5b6a61059c1ebe0c0b20f722e (diff)
Take care to listen for changes of the settings-widgets after loadSettings() is invoked, otherwise it is possible that a change is accidently indicated.
svn path=/trunk/KDE/kdebase/apps/; revision=1193350
Diffstat (limited to 'src/settings/trash/trashsettingspage.cpp')
-rw-r--r--src/settings/trash/trashsettingspage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings/trash/trashsettingspage.cpp b/src/settings/trash/trashsettingspage.cpp
index e23028b08..f507cbab5 100644
--- a/src/settings/trash/trashsettingspage.cpp
+++ b/src/settings/trash/trashsettingspage.cpp
@@ -37,7 +37,6 @@ TrashSettingsPage::TrashSettingsPage(QWidget* parent) :
vBox->setSpacing(spacing);
m_proxy = new KCModuleProxy("kcmtrash");
- connect(m_proxy, SIGNAL(changed(bool)), this, SIGNAL(changed()));
topLayout->addWidget(m_proxy);
// Add a dummy widget with no restriction regarding
@@ -47,6 +46,8 @@ TrashSettingsPage::TrashSettingsPage(QWidget* parent) :
topLayout->addWidget(vBox);
loadSettings();
+
+ connect(m_proxy, SIGNAL(changed(bool)), this, SIGNAL(changed()));
}
TrashSettingsPage::~TrashSettingsPage()