diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-06 21:45:41 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-06 21:45:41 +0200 |
| commit | cbc17bd39f4ef245183e5a54509ff3fbd4125ca6 (patch) | |
| tree | bf35bd5f6a64a22fe002316d0d311a3b5f4107ab /mainwindow.cpp | |
| parent | eb283439a68dfb70a075205859d891dca831626b (diff) | |
| download | kristall-cbc17bd39f4ef245183e5a54509ff3fbd4125ca6.tar.gz | |
Fixes bug in outline generation, adds application icon to mainwindow, adds more README, adds save settings on closing settings dialog.
Diffstat (limited to 'mainwindow.cpp')
| -rw-r--r-- | mainwindow.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index 0010dba..3682891 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -41,8 +41,7 @@ MainWindow::MainWindow(QWidget *parent) : MainWindow::~MainWindow() { - this->favourites.save(settings); - this->current_style.save(settings); + this->saveSettings(); delete ui; } @@ -82,6 +81,11 @@ void MainWindow::setUrlPreview(const QUrl &url) } } +void MainWindow::saveSettings() +{ + this->favourites.save(settings); + this->current_style.save(settings); +} void MainWindow::on_browser_tabs_currentChanged(int index) { |
