From 900f593b6b33dd6028def8e3f7f595819cbbf2f1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jun 2015 08:11:31 +0900 Subject: Revert remaining part of commit 687b146. This resolves bug 1850 and reopens bug 2188. Signed-off-by: Michele Calgaro --- khelpcenter/mainwindow.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'khelpcenter') diff --git a/khelpcenter/mainwindow.cpp b/khelpcenter/mainwindow.cpp index b4c25dba6..c2246232a 100644 --- a/khelpcenter/mainwindow.cpp +++ b/khelpcenter/mainwindow.cpp @@ -293,8 +293,6 @@ void MainWindow::viewUrl( const TQString &url ) void MainWindow::viewUrl( const KURL &url, const KParts::URLArgs &args ) { - KParts::URLArgs urlArgs = args; - stop(); TQString proto = url.protocol().lower(); @@ -325,14 +323,7 @@ void MainWindow::viewUrl( const KURL &url, const KParts::URLArgs &args ) History::self().createEntry(); - if (mDoc->baseURL() != url) { - if ( proto == "help" ) { - // Ensure that changing the handbook section works by forcing a reload of the page, - // thereby allowing the help tdeioslave to re-parse the fragment identifier - urlArgs.reload = true; - } - } - mDoc->browserExtension()->setURLArgs( urlArgs ); + mDoc->browserExtension()->setURLArgs( args ); if ( proto == TQString::fromLatin1("glossentry") ) { TQString decodedEntryId = KURL::decode_string( url.encodedPathAndQuery() ); -- cgit v1.2.1