From 8162a662b605d4b23c632181075aaeef875e754f Mon Sep 17 00:00:00 2001 From: Konstantin Isakov Date: Sun, 12 Apr 2009 23:07:45 +0000 Subject: [PATCH] *! Decode the encoded url correctly for auto-pronounce feature. --- src/articleview.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/articleview.cc b/src/articleview.cc index 7601e0fd..96319abb 100644 --- a/src/articleview.cc +++ b/src/articleview.cc @@ -279,7 +279,7 @@ void ArticleView::playSound() QString( "gdAudioLink;" ) ); if ( v.type() == QVariant::String ) - openLink( QUrl( v.toString() ), ui.definition->url() ); + openLink( QUrl::fromEncoded( v.toString().toUtf8() ), ui.definition->url() ); } void ArticleView::contextMenuRequested( QPoint const & pos )