aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Kosek <krkk@krkk.ct8.pl>2021-04-10 22:05:00 +0200
committerFelix Queißner <felix@ib-queissner.de>2021-04-11 21:18:11 +0200
commitc740189bcaa5bc6c073f8b3802303acf5ac36e47 (patch)
treecf70677eb8ae48917c0b5360b57781d691fe49e3
parent9b148c919ff259534fd06ffaaed8c972b5bb6de3 (diff)
BrowserTab: drop QString
-rw-r--r--src/browsertab.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp
index 593bdd0..f995bc9 100644
--- a/src/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -752,15 +752,13 @@ void BrowserTab::renderPage(const QByteArray &data, const MimeType &mime)
}
else
{
- QString page_data = QString(
- tr("Unsupported Media Type!\n"
+ QString page_data = tr("Unsupported Media Type!\n"
"\n"
"Kristall cannot display the requested document\n"
"To view this media, use the File menu to save it to your local drive, then open the saved file in another program that can display the document for you.\n\n"
"Details:\n"
"- MIME type: %1/%2\n"
- "- Size: %3\n")
- ).arg(mime.type, mime.subtype, IoUtil::size_human(data.size()));
+ "- Size: %3\n").arg(mime.type, mime.subtype, IoUtil::size_human(data.size()));
if (plaintext_only)
document = PlainTextRenderer::render(page_data.toUtf8(), doc_style);