Commit b2039980 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to Remove filter

parent 5876c145
Pipeline #63149 passed with stage
in 39 minutes and 31 seconds
...@@ -49,3 +49,8 @@ QVector<FilterSavedManager::FilterInfo> FilterSavedManager::filterInfos() const ...@@ -49,3 +49,8 @@ QVector<FilterSavedManager::FilterInfo> FilterSavedManager::filterInfos() const
// TODO // TODO
return {}; return {};
} }
void FilterSavedManager::removeFilter(const QString &identifier)
{
// TODO
}
...@@ -29,6 +29,7 @@ public: ...@@ -29,6 +29,7 @@ public:
static FilterSavedManager *self(); static FilterSavedManager *self();
void removeFilter(const QString &identifier);
Q_SIGNALS: Q_SIGNALS:
void activateFilter(const QString &identifier); void activateFilter(const QString &identifier);
}; };
......
...@@ -53,5 +53,7 @@ void ConfigureFiltersWidget::slotCustomContextMenuRequested(const QPoint &pos) ...@@ -53,5 +53,7 @@ void ConfigureFiltersWidget::slotCustomContextMenuRequested(const QPoint &pos)
void ConfigureFiltersWidget::removeFilterInfo(const QString &identifier) void ConfigureFiltersWidget::removeFilterInfo(const QString &identifier)
{ {
// TODO if (!identifier.isEmpty()) {
FilterSavedManager::self()->removeFilter(identifier);
}
} }
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