mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-10 15:22:30 +01:00
Some tweaks.
This commit is contained in:
parent
9a98b479b1
commit
36ed580f4d
@ -149,17 +149,13 @@ void WebBrowser::initializeLayout() {
|
||||
}
|
||||
|
||||
void WebBrowser::onLoadingStarted() {
|
||||
// TODO: Do not display this when navigating to "about:blank".
|
||||
m_loadingProgress->setValue(0);
|
||||
m_loadingProgress->show();
|
||||
}
|
||||
|
||||
void WebBrowser::onLoadingProgress(int progress) {
|
||||
m_loadingProgress->setValue(progress);
|
||||
|
||||
m_lblProgress->setText(QString(" %1 kB / %2 kB").
|
||||
arg(m_webView->page()->bytesReceived() / 1000).
|
||||
arg(m_webView->page()->totalBytes() / 1000));
|
||||
m_lblProgress->setText(QString(" %1 kB / %2 kB").arg(m_webView->page()->bytesReceived() / 1000).arg(m_webView->page()->totalBytes() / 1000));
|
||||
}
|
||||
|
||||
void WebBrowser::onLoadingFinished(bool success) {
|
||||
|
Loading…
Reference in New Issue
Block a user