aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_mainwindow.cpp
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-13 20:03:17 +0200
committerDanilo M. <danix@danix.xyz>2026-09-13 20:03:17 +0200
commit18ff1f33f64428ab96ca0b5ea22e681be564c886 (patch)
tree4c283551bba03a1436cc1f1ac3b3b4c2dcdfc95b /tests/test_mainwindow.cpp
parent2623b762a90b04c57491a5d58ab72c8807c65c80 (diff)
downloadqtmaildir-18ff1f33f64428ab96ca0b5ea22e681be564c886.tar.gz
qtmaildir-18ff1f33f64428ab96ca0b5ea22e681be564c886.zip
feat(config): a threaded, path-based spam filter
Diffstat (limited to 'tests/test_mainwindow.cpp')
-rw-r--r--tests/test_mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_mainwindow.cpp b/tests/test_mainwindow.cpp
index b7f7846..9a38a95 100644
--- a/tests/test_mainwindow.cpp
+++ b/tests/test_mainwindow.cpp
@@ -11008,12 +11008,13 @@ void TestMainWindow::everyBuiltinFilterButtonCarriesAnIconAndItsText()
});
// A trash key too, or the Trash filter finds nothing and is skipped from
// the row entirely (item 103), leaving no trashButton for this loop to
- // find. Drafts behaves the same way since item 138.
+ // find. Drafts and Spam behave the same way since item 138.
{
QSettings s(path, QSettings::IniFormat);
s.beginGroup(QStringLiteral("account.work"));
s.setValue(QStringLiteral("trash"), QStringLiteral("Trash"));
s.setValue(QStringLiteral("drafts"), QStringLiteral("Drafts"));
+ s.setValue(QStringLiteral("spam"), QStringLiteral("Spam"));
s.endGroup();
}
Config config;