opt: fts search dialog does not use caseSensitive option currently

This commit is contained in:
Xiao Yi Fang 2024-06-14 17:38:46 +08:00
parent 585d547d28
commit 3478c2fe1f
2 changed files with 0 additions and 5 deletions

View file

@ -2166,9 +2166,6 @@ void ArticleView::performFtsFindOperation( bool backwards )
QWebEnginePage::FindFlags flags( 0 ); QWebEnginePage::FindFlags flags( 0 );
if ( ftsSearchMatchCase )
flags |= QWebEnginePage::FindCaseSensitively;
if ( backwards ) { if ( backwards ) {
#if ( QT_VERSION >= QT_VERSION_CHECK( 6, 0, 0 ) ) #if ( QT_VERSION >= QT_VERSION_CHECK( 6, 0, 0 ) )
webview->findText( firstAvailableText, webview->findText( firstAvailableText,

View file

@ -85,8 +85,6 @@ class ArticleView: public QWidget
QString firstAvailableText; QString firstAvailableText;
QStringList uniqueMatches; QStringList uniqueMatches;
bool ftsSearchMatchCase = false;
QString delayedHighlightText; QString delayedHighlightText;
void highlightFTSResults(); void highlightFTSResults();