aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/browsertab.cpp')
-rw-r--r--src/browsertab.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp
index 016ea71..1e440be 100644
--- a/src/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -447,6 +447,7 @@ void BrowserTab::on_requestComplete(const QByteArray &ref_data, const QString &m
}
}
+ this->successfully_loaded = true;
renderPage(data, mime);
QString title = this->current_location.toString();
@@ -456,8 +457,6 @@ void BrowserTab::on_requestComplete(const QByteArray &ref_data, const QString &m
this->current_stats.mime_type = mime;
this->current_stats.loading_time = this->timer.elapsed();
emit this->fileLoaded(this->current_stats);
-
- this->successfully_loaded = true;
}
void BrowserTab::renderPage(const QByteArray &data, const MimeType &mime)