mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
fix: fix todo when upgrade to 6.2
This commit is contained in:
parent
baf6685618
commit
75e0dfdec7
|
@ -492,10 +492,9 @@ void ArticleView::showDefinition( QString const & word, QStringList const & dict
|
|||
Utils::Url::addQueryItem( req, "word", word );
|
||||
Utils::Url::addQueryItem( req, "dictionaries", dictIDs.join( ",") );
|
||||
Utils::Url::addQueryItem( req, "regexp", searchRegExp.pattern() );
|
||||
//todo
|
||||
// if( searchRegExp.patternOptions () == QRegularExpression:: )
|
||||
if( searchRegExp.caseSensitivity() == Qt::CaseSensitive )
|
||||
Utils::Url::addQueryItem( req, "matchcase", "1" );
|
||||
// if( searchRegExp.patternOptions () == PatternOptions::WildcardUnix )
|
||||
if( searchRegExp.patternSyntax() == QRegExp::WildcardUnix )
|
||||
Utils::Url::addQueryItem( req, "wildcards", "1" );
|
||||
Utils::Url::addQueryItem( req, "group", QString::number( group ) );
|
||||
if( ignoreDiacritics )
|
||||
|
|
Loading…
Reference in a new issue