diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-06 23:38:05 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-06 23:38:05 +0200 |
| commit | 6887cd80266a8041f31b55b65c142a85239f15a1 (patch) | |
| tree | a3ceabb995fc31b6e77eb23cc2dad5d3bc4846fb /src/settingsdialog.cpp | |
| parent | 3aed883402dc8da829fc304434c5efd0570cbb97 (diff) | |
| download | kristall-6887cd80266a8041f31b55b65c142a85239f15a1.tar.gz | |
Adds rendering of about:blank and about:favourites.
Diffstat (limited to 'src/settingsdialog.cpp')
| -rw-r--r-- | src/settingsdialog.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp index 2078e7c..33042d5 100644 --- a/src/settingsdialog.cpp +++ b/src/settingsdialog.cpp @@ -89,6 +89,16 @@ void SettingsDialog::setGeminiStyle(const GeminiStyle &style) this->reloadStylePreview(); } +QUrl SettingsDialog::startPage() const +{ + return QUrl(this->ui->start_page->text()); +} + +void SettingsDialog::setStartPage(const QUrl &url) +{ + this->ui->start_page->setText(url.toString()); +} + void SettingsDialog::reloadStylePreview() { auto const document = R"gemini(# H1 Header |
