From 5147c8c03666f3f8e125d3d458387ea7a8dc46fe Mon Sep 17 00:00:00 2001 From: Xiao Yi Fang Date: Tue, 13 Aug 2024 16:43:10 +0800 Subject: [PATCH] opt: default and plaintext are the same ,remove one --- src/fulltextsearch.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fulltextsearch.cc b/src/fulltextsearch.cc index 5f81b471..34a9c80f 100644 --- a/src/fulltextsearch.cc +++ b/src/fulltextsearch.cc @@ -217,10 +217,9 @@ FullTextSearchDialog::FullTextSearchDialog( QWidget * parent, &FullTextSearchDialog::setNewIndexingName ); ui.searchMode->addItem( tr( "Default" ), WholeWords ); - ui.searchMode->addItem( tr( "Plain text" ), PlainText ); ui.searchMode->addItem( tr( "Wildcards" ), Wildcards ); - ui.searchLine->setToolTip( tr( "support xapian search syntax,such as AND OR +/- etc" ) ); + ui.searchLine->setToolTip( tr( "Support xapian search syntax, such as AND OR +/- etc." ) ); ui.searchMode->setCurrentIndex( cfg.preferences.fts.searchMode );