diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-06-04 08:11:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-06-04 08:11:31 +0900 |
commit | 900f593b6b33dd6028def8e3f7f595819cbbf2f1 (patch) | |
tree | 3e24b87c250efd45e77e61e4c4b758de204a5965 /khelpcenter | |
parent | 1329f47fa890222fd6d28d17ef24449070a26461 (diff) | |
download | tdebase-900f593b6b33dd6028def8e3f7f595819cbbf2f1.tar.gz tdebase-900f593b6b33dd6028def8e3f7f595819cbbf2f1.zip |
Revert remaining part of commit 687b146. This resolves bug 1850 and reopens bug 2188.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'khelpcenter')
-rw-r--r-- | khelpcenter/mainwindow.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
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() ); |