summaryrefslogtreecommitdiff
path: root/src/analyzer/networkanalyzer.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-09-06 01:39:56 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-09-06 01:41:44 +0200
commitc0bc8cfe4a9b8240b2261109c8f1e0124efac05d (patch)
tree336cf2da91d11bcaf9f5e3eba451e363c02747b7 /src/analyzer/networkanalyzer.cpp
parentrekonq 0.5.86 (diff)
downloadrekonq-c0bc8cfe4a9b8240b2261109c8f1e0124efac05d.tar.xz
Revert "This hacks should fix (a lot of) javascript handling."
Really sorry. Proposed fix does not handle cookies This reverts commit b08c67eb1e45cb94dc6250fe555d84f0c0e7debe. CCBUG:250298
Diffstat (limited to 'src/analyzer/networkanalyzer.cpp')
-rw-r--r--src/analyzer/networkanalyzer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/analyzer/networkanalyzer.cpp b/src/analyzer/networkanalyzer.cpp
index d0044f47..c5b08835 100644
--- a/src/analyzer/networkanalyzer.cpp
+++ b/src/analyzer/networkanalyzer.cpp
@@ -162,8 +162,7 @@ void NetworkAnalyzer::requestFinished( QObject *replyObject )
QString contentType = reply->header( QNetworkRequest::ContentTypeHeader ).toString();
item->setText( 4, contentType );
- if ( status == 302 )
- {
+ if ( status == 302 ) {
QUrl target = reply->attribute( QNetworkRequest::RedirectionTargetAttribute ).toUrl();
item->setText( 5, i18n("Redirect: %1", target.toString() ) );
}