Commit 7f2fc6d2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't use const'ref here

parent c9f67411
...@@ -34,7 +34,7 @@ bool Filter::containString(const QString &searchInString) const ...@@ -34,7 +34,7 @@ bool Filter::containString(const QString &searchInString) const
return found; return found;
} }
void Filter::setOptions(const QuickSearchLine::SearchOptions &newOptions) void Filter::setOptions(QuickSearchLine::SearchOptions newOptions)
{ {
mOptions = newOptions; mOptions = newOptions;
} }
......
...@@ -98,7 +98,7 @@ public: ...@@ -98,7 +98,7 @@ public:
Q_REQUIRED_RESULT const QString &filterName() const; Q_REQUIRED_RESULT const QString &filterName() const;
void setFilterName(const QString &newFilterName); void setFilterName(const QString &newFilterName);
void setOptions(const QuickSearchLine::SearchOptions &newOptions); void setOptions(QuickSearchLine::SearchOptions newOptions);
static Q_REQUIRED_RESULT Filter *loadFromConfigGroup(const KConfigGroup &newGroup); static Q_REQUIRED_RESULT Filter *loadFromConfigGroup(const KConfigGroup &newGroup);
Q_SIGNALS: Q_SIGNALS:
......
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