aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/browsertab.cpp')
-rw-r--r--src/browsertab.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp
index 7d4de95..601ddd0 100644
--- a/src/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -646,8 +646,7 @@ Info:
MIME Type: %1
File Size: %2
)md")
- .arg(mime.type)
- .arg(IoUtil::size_human(data.size())));
+ .arg(mime.type, data.size()));
}
assert((document != nullptr) == (doc_type == Text));
@@ -1159,9 +1158,9 @@ bool BrowserTab::startRequest(const QUrl &url, ProtocolHandler::RequestOptions o
auto answer = QMessageBox::question(
this,
"Kristall",
- tr("Your client certificate has a host filter enabled and this site does not match the host filter.\r\nNew URL: %1\r\nHost Filter: %2\r\nDo you want to keep the certificate enabled?")
- .arg(url.toString(QUrl::FullyEncoded | QUrl::RemoveFragment))
- .arg(this->current_identity.host_filter),
+ tr("Your client certificate has a host filter enabled and this site does not match the host filter.\r\n"
+ "New URL: %1\r\nHost Filter: %2\r\nDo you want to keep the certificate enabled?")
+ .arg(url.toString(QUrl::FullyEncoded | QUrl::RemoveFragment), this->current_identity.host_filter),
QMessageBox::Yes | QMessageBox::No,
QMessageBox::No
);