opt: default and plaintext are the same ,remove one

This commit is contained in:
Xiao Yi Fang 2024-08-13 16:43:10 +08:00
parent 67a388455c
commit 5147c8c036

View file

@ -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 );