]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/trash/trashsettingspage.cpp
Merge remote-tracking branch 'origin/master' into frameworks
[dolphin.git] / src / settings / trash / trashsettingspage.cpp
index b8294bffd126440b278d3e7d0354a6a196b9e9b9..bd01d56b5e54b110e90872bf02c76f638b7f8e76 100644 (file)
@@ -23,8 +23,6 @@
 #include <KDialog>
 #include <KVBox>
 
-#include <settings/dolphinsettings.h>
-
 #include <QVBoxLayout>
 
 TrashSettingsPage::TrashSettingsPage(QWidget* parent) :
@@ -47,7 +45,7 @@ TrashSettingsPage::TrashSettingsPage(QWidget* parent) :
 
     loadSettings();
 
-    connect(m_proxy, SIGNAL(changed(bool)), this, SIGNAL(changed()));
+    connect(m_proxy, static_cast<void(KCModuleProxy::*)(bool)>(&KCModuleProxy::changed), this, &TrashSettingsPage::changed);
 }
 
 TrashSettingsPage::~TrashSettingsPage()
@@ -69,4 +67,3 @@ void TrashSettingsPage::loadSettings()
     m_proxy->load();
 }
 
-#include "trashsettingspage.moc"