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

Prepare to save filter

parent 20b0a45c
Pipeline #63076 passed with stage
in 39 minutes and 29 seconds
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include "searchlinestatus.h" #include "searchlinestatus.h"
#include "configurefiltersdialog.h" #include "configurefiltersdialog.h"
#include "core/filtersavedmanager.h"
#include "filtersavedmenu.h" #include "filtersavedmenu.h"
#include "messagelist_debug.h" #include "messagelist_debug.h"
...@@ -135,6 +136,7 @@ void SearchLineStatus::slotSaveFilter() ...@@ -135,6 +136,7 @@ void SearchLineStatus::slotSaveFilter()
bool ok = false; bool ok = false;
const QString str = QInputDialog::getText(this, i18n("Filter Name:"), i18n("Name:"), QLineEdit::Normal, {}, &ok); const QString str = QInputDialog::getText(this, i18n("Filter Name:"), i18n("Name:"), QLineEdit::Normal, {}, &ok);
if (ok && !str.trimmed().isEmpty()) { if (ok && !str.trimmed().isEmpty()) {
// TODO FilterSavedManager::self()->saveFilter(,str);
// TODO // TODO
} }
} }
......
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