From: Carsten Niehaus Date: Tue, 5 Aug 2008 16:49:51 +0000 (+0000) Subject: I applied Eckhard patch. X-Git-Tag: v4.1.80~25 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=ab4779d09eda7aaf8c6631bc7c42f622bfe08787;p=libqmvoc.git I applied Eckhard patch. Yukiko, could you please test if this is fixed now? The fix will be in KDE 4.1.1 and 4.2.0 (or in SVN as of now in case you compile KDE yourself). Sorry that the fix took that long... BUG:142047 svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=842624 --- diff --git a/kdeeduui/kdeeduglossary.cpp b/kdeeduui/kdeeduglossary.cpp index a98167b..aa500f2 100644 --- a/kdeeduui/kdeeduglossary.cpp +++ b/kdeeduui/kdeeduglossary.cpp @@ -376,8 +376,9 @@ void GlossaryDialog::keyPressEvent(QKeyEvent* e) void GlossaryDialog::Private::displayItem( const KUrl &url, const KParts::OpenUrlArguments &, const KParts::BrowserArguments & ) { - // using the "host" part of a kurl as reference - QString myurl = url.host().toLower(); + // using the "path" part of a kurl as reference + QString myurl = url.path().toLower(); + QTreeWidgetItemIterator it( m_glosstree ); while ( *it ) { @@ -503,11 +504,11 @@ QString GlossaryItem::parseReferences() const return QString(); QString htmlcode = "

" + i18n( "References" ) + "

";