]> 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..d42ae8f0caa4e3cfda2199ff0d7d57fcad040936 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()