mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Check for the bword:// scheme without case sensitivity.
This fixes some dictionaries which use BWORD:// addressing.
This commit is contained in:
parent
2f0896b94e
commit
55916d0aae
|
@ -525,7 +525,7 @@ void ArticleView::openLink( QUrl const & url, QUrl const & ref,
|
|||
{
|
||||
printf( "clicked %s\n", url.toString().toLocal8Bit().data() );
|
||||
|
||||
if ( url.scheme() == "bword" )
|
||||
if ( url.scheme().compare( "bword", Qt::CaseInsensitive ) == 0 )
|
||||
{
|
||||
QString host = url.host();
|
||||
|
||||
|
|
Loading…
Reference in a new issue