Git commit 98df5351f4591df9feb5468ff9d885e7e38289b6 by Pino Toscano. Committed on 31/01/2016 at 22:50. Pushed by pino into branch 'Plasma/5.5'. Fix extraction of glossary id from glossary: URLs Fixes a crash when e.g. selecting one of the "see also" items in a glossary page M +1 -1 mainwindow.cpp http://commits.kde.org/khelpcenter/98df5351f4591df9feb5468ff9d885e7e38289b6 diff --git a/mainwindow.cpp b/mainwindow.cpp index a2282ad..82f84e9 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -371,7 +371,7 @@ void MainWindow::viewUrl( const QUrl &url, const KParts= ::OpenUrlArguments &args, mDoc->browserExtension()->setBrowserArguments( browserArgs ); = if ( proto =3D=3D QLatin1String("glossentry") ) { - QString decodedEntryId =3D QUrl::fromPercentEncoding( QUrl::toPerc= entEncoding(url.toString()) ); + QString decodedEntryId =3D QUrl::fromPercentEncoding( QUrl::toPerc= entEncoding(url.path()) ); slotGlossSelected( mNavigator->glossEntry( decodedEntryId ) ); mNavigator->slotSelectGlossEntry( decodedEntryId ); } else {