refactor: remove unused ignoredPhraseReplace setting (#6304)

This commit is contained in:
pajlada
2025-06-28 15:27:46 +02:00
committed by GitHub
parent 42fb5ad077
commit 9e59fb1a5f
5 changed files with 15 additions and 11 deletions
+7 -3
View File
@@ -64,9 +64,13 @@ void addPhrasesTab(LayoutCreator<QVBoxLayout> layout)
// We can safely ignore this signal connection since we own the view
std::ignore = view->addButtonPressed.connect([] {
getSettings()->ignoredMessages.append(
IgnorePhrase{"my pattern", false, false,
getSettings()->ignoredPhraseReplace.getValue(), true});
getSettings()->ignoredMessages.append(IgnorePhrase{
"my pattern",
false,
false,
DEFAULT_IGNORE_PHRASE_REPLACE.toString(),
true,
});
});
}