Commit 610c02ce authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify

parent 9a1c33ea
Pipeline #178631 failed with stage
in 5 minutes and 1 second
......@@ -35,7 +35,7 @@ void KMailPluginInterface::initializeInterfaceRequires(PimCommon::AbstractGeneri
return;
}
auto interface = static_cast<PimCommon::GenericPluginInterface *>(abstractInterface);
PimCommon::GenericPluginInterface::RequireTypes requiresFeatures = interface->requiresFeatures();
const PimCommon::GenericPluginInterface::RequireTypes requiresFeatures = interface->requiresFeatures();
if (requiresFeatures & PimCommon::GenericPluginInterface::CurrentItems) {
interface->setItems(mMainWindow->currentSelection());
}
......
Supports Markdown
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