summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2015-06-04 08:11:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2015-06-04 08:11:31 +0900
commit900f593b6b33dd6028def8e3f7f595819cbbf2f1 (patch)
tree3e24b87c250efd45e77e61e4c4b758de204a5965
parent1329f47fa890222fd6d28d17ef24449070a26461 (diff)
downloadtdebase-900f593b.tar.gz
tdebase-900f593b.zip
Revert remaining part of commit 687b146. This resolves bug 1850 and reopens bug 2188.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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() );