Check for the bword:// scheme without case sensitivity.

This fixes some dictionaries which use BWORD:// addressing.
This commit is contained in:
Konstantin Isakov 2009-11-11 13:24:06 +03:00
parent 2f0896b94e
commit 55916d0aae

View file

@ -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();