Commit 205d5938 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt to new api

parent 6ca51ef2
Pipeline #50193 passed with stage
in 26 minutes and 36 seconds
......@@ -72,7 +72,7 @@ set(LIBGRAVATAR_VERSION "5.16.40")
set(MAILCOMMON_LIB_VERSION "5.16.40")
set(MESSAGELIB_LIB_VERSION "5.16.43")
set(LIBKLEO_LIB_VERSION "5.16.40")
set(PIMCOMMON_LIB_VERSION "5.16.40")
set(PIMCOMMON_LIB_VERSION "5.16.41")
set(LIBKDEPIM_LIB_VERSION "5.16.40")
set(LIBKSIEVE_LIB_VERSION "5.16.42")
set(AKONADI_SEARCH_VERSION "5.16.40")
......
......@@ -35,7 +35,7 @@ void KMailPluginInterface::initializeInterfaceRequires(PimCommon::AbstractGeneri
return;
}
auto interface = static_cast<PimCommon::GenericPluginInterface *>(abstractInterface);
PimCommon::GenericPluginInterface::RequireTypes requiresFeatures = interface->requires();
PimCommon::GenericPluginInterface::RequireTypes requiresFeatures = interface->requiresFeatures();
if (requiresFeatures & PimCommon::GenericPluginInterface::CurrentItems) {
interface->setItems(mMainWindow->currentSelection());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment