diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2021-03-07 11:58:37 +0100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-03-08 02:23:16 +0100 |
| commit | 64e271dce2e5aca07abdca8e335b3f7cb9ba1114 (patch) | |
| tree | e3aed2f5057f4db7eccc9505125c3a539ad543c1 /src/dialogs | |
| parent | 2e4bd9e8a1f0ee14fb58c91ae2d94bcb96c6cbce (diff) | |
| download | kristall-64e271dce2e5aca07abdca8e335b3f7cb9ba1114.tar.gz | |
Starts to implement new HTML renderer based on gumbo. Everything is a bit borked and only trivial documents work correctly.
Diffstat (limited to 'src/dialogs')
| -rw-r--r-- | src/dialogs/settingsdialog.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dialogs/settingsdialog.cpp b/src/dialogs/settingsdialog.cpp index 9a65efd..d71c23e 100644 --- a/src/dialogs/settingsdialog.cpp +++ b/src/dialogs/settingsdialog.cpp @@ -387,12 +387,14 @@ void SettingsDialog::reloadStylePreview() QUrl url { QUrl(QString("about://%1/foobar").arg(host)) }; DocumentOutlineModel outline; + QString document_title; auto doc_style = current_style.derive(url); auto doc = GeminiRenderer::render( document, url, doc_style, - outline + outline, + document_title ); ui->style_preview->setStyleSheet(QString("QTextBrowser { background-color: %1; color: %2; }") |
