diff options
| author | Felix Queißner <git@mq32.de> | 2020-06-08 15:36:11 +0200 |
|---|---|---|
| committer | Felix Queißner <git@mq32.de> | 2020-06-08 15:36:11 +0200 |
| commit | 0ad2367f1bcfb307810b256835d7d952930f5857 (patch) | |
| tree | b06f1bdabe29b11774a7bc95dd192c77db510d09 /src/browsertab.cpp | |
| parent | 25fcf4a129545cdcdceb87ca8deaeabaf2239e03 (diff) | |
| download | kristall-0ad2367f1bcfb307810b256835d7d952930f5857.tar.gz | |
Ubuntu20.04 patch commit. Happy hacking!
Diffstat (limited to 'src/browsertab.cpp')
| -rw-r--r-- | src/browsertab.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp index 722b655..3c36ff2 100644 --- a/src/browsertab.cpp +++ b/src/browsertab.cpp @@ -332,15 +332,13 @@ void BrowserTab::on_requestComplete(const QByteArray &data, const QString &mime) document->setDefaultFont(doc_style.standard_font); document->setDefaultStyleSheet(doc_style.toStyleSheet()); - document->setMarkdown(QString(R"md(You accessed an unsupported media type! + document->setPlainText(QString(R"md(You accessed an unsupported media type! Use the *File* menu to save the file to your local disk or navigate somewhere else. I cannot display this for you. ☹ Info: -``` MIME Type: %1 File Size: %2 -``` )md").arg(mime).arg(size_human(data.size()))); } |
