summaryrefslogtreecommitdiffstats
path: root/khelpcenter/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khelpcenter/mainwindow.cpp')
-rw-r--r--khelpcenter/mainwindow.cpp11
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() );