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
b2039980
Commit
b2039980
authored
May 26, 2021
by
Laurent Montel
😁
Browse files
Allow to Remove filter
parent
5876c145
Pipeline
#63149
passed with stage
in 39 minutes and 31 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
messagelist/src/core/filtersavedmanager.cpp
View file @
b2039980
...
...
@@ -49,3 +49,8 @@ QVector<FilterSavedManager::FilterInfo> FilterSavedManager::filterInfos() const
// TODO
return
{};
}
void
FilterSavedManager
::
removeFilter
(
const
QString
&
identifier
)
{
// TODO
}
messagelist/src/core/filtersavedmanager.h
View file @
b2039980
...
...
@@ -29,6 +29,7 @@ public:
static
FilterSavedManager
*
self
();
void
removeFilter
(
const
QString
&
identifier
);
Q_SIGNALS:
void
activateFilter
(
const
QString
&
identifier
);
};
...
...
messagelist/src/core/widgets/configurefilterswidget.cpp
View file @
b2039980
...
...
@@ -53,5 +53,7 @@ void ConfigureFiltersWidget::slotCustomContextMenuRequested(const QPoint &pos)
void
ConfigureFiltersWidget
::
removeFilterInfo
(
const
QString
&
identifier
)
{
// TODO
if
(
!
identifier
.
isEmpty
())
{
FilterSavedManager
::
self
()
->
removeFilter
(
identifier
);
}
}
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