]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/kcm/kcmdolphinservices.cpp
Refactoring to reduce size of openItemContextMenu and add the ContextType TimelineOrS...
[dolphin.git] / src / settings / kcm / kcmdolphinservices.cpp
index 91f4fd121b24abac1cc8cf9d4f31197da8278db3..d5457f1fda699ac9a71bbeeef6e823c00511336b 100644 (file)
@@ -32,7 +32,7 @@ DolphinServicesConfigModule::DolphinServicesConfigModule(QWidget* parent, const
     KCModule(parent),
     m_services(nullptr)
 {
-    Q_UNUSED(args);
+    Q_UNUSED(args)
 
     setButtons(KCModule::Default | KCModule::Help);
 
@@ -40,7 +40,7 @@ DolphinServicesConfigModule::DolphinServicesConfigModule(QWidget* parent, const
     topLayout->setContentsMargins(0, 0, 0, 0);
 
     m_services = new ServicesSettingsPage(this);
-    connect(m_services, &ServicesSettingsPage::changed, this, static_cast<void(DolphinServicesConfigModule::*)()>(&DolphinServicesConfigModule::changed));
+    connect(m_services, &ServicesSettingsPage::changed, this, QOverload<>::of(&DolphinServicesConfigModule::changed));
     topLayout->addWidget(m_services, 0, nullptr);
 }