mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
opt: fts search dialog does not use caseSensitive option currently
This commit is contained in:
parent
585d547d28
commit
3478c2fe1f
|
@ -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,
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue