From ab4779d09eda7aaf8c6631bc7c42f622bfe08787 Mon Sep 17 00:00:00 2001 From: Carsten Niehaus Date: Tue, 5 Aug 2008 16:49:51 +0000 Subject: [PATCH] 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 --- kdeeduui/kdeeduglossary.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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" ) + "

"; -- 2.47.3