mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34: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, "word", word );
|
||||||
Utils::Url::addQueryItem( req, "dictionaries", dictIDs.join( ",") );
|
Utils::Url::addQueryItem( req, "dictionaries", dictIDs.join( ",") );
|
||||||
Utils::Url::addQueryItem( req, "regexp", searchRegExp.pattern() );
|
Utils::Url::addQueryItem( req, "regexp", searchRegExp.pattern() );
|
||||||
//todo
|
if( searchRegExp.caseSensitivity() == Qt::CaseSensitive )
|
||||||
// if( searchRegExp.patternOptions () == QRegularExpression:: )
|
|
||||||
Utils::Url::addQueryItem( req, "matchcase", "1" );
|
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, "wildcards", "1" );
|
||||||
Utils::Url::addQueryItem( req, "group", QString::number( group ) );
|
Utils::Url::addQueryItem( req, "group", QString::number( group ) );
|
||||||
if( ignoreDiacritics )
|
if( ignoreDiacritics )
|
||||||
|
|
Loading…
Reference in a new issue