Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
7f2fc6d2
Commit
7f2fc6d2
authored
Jun 09, 2021
by
Laurent Montel
😁
Browse files
Don't use const'ref here
parent
c9f67411
Changes
2
Hide whitespace changes
Inline
Side-by-side
messagelist/src/core/filter.cpp
View file @
7f2fc6d2
...
...
@@ -34,7 +34,7 @@ bool Filter::containString(const QString &searchInString) const
return
found
;
}
void
Filter
::
setOptions
(
const
QuickSearchLine
::
SearchOptions
&
newOptions
)
void
Filter
::
setOptions
(
QuickSearchLine
::
SearchOptions
newOptions
)
{
mOptions
=
newOptions
;
}
...
...
messagelist/src/core/filter.h
View file @
7f2fc6d2
...
...
@@ -98,7 +98,7 @@ public:
Q_REQUIRED_RESULT
const
QString
&
filterName
()
const
;
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
);
Q_SIGNALS:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment