Revert remaining part of commit 687b146. This resolves bug 1850 and reopens bug 2188.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/2/head
Michele Calgaro 9 years ago
parent 1329f47fa8
commit 900f593b6b

@ -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() );

Loading…
Cancel
Save