Commit e635b3eb authored by Volker Krause's avatar Volker Krause
Browse files

Add a const ref overload for setFilters()

Needed by KItinerary Workbench, which copies there from its editing state
when saving.
parent 9a5f9e4c
......@@ -147,6 +147,11 @@ void ScriptExtractor::setFilters(std::vector<ExtractorFilter> &&filters)
d->m_filters = std::move(filters);
void ScriptExtractor::setFilters(const std::vector<ExtractorFilter> &filters)
d->m_filters = filters;
bool ScriptExtractor::canHandle(const ExtractorDocumentNode &node) const
if (node.mimeType() != d->m_mimeType) {
......@@ -106,6 +106,7 @@ public:
void setScriptFileName(const QString &script);
void setScriptFunction(const QString &func);
void setFilters(std::vector<ExtractorFilter> &&filters);
void setFilters(const std::vector<ExtractorFilter> &filters);
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