mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Revert "desktop-widgets: remove QSettings from desktop-widgets"
This reverts commit 321a920a98
.
It appears that the load_xxx functions aren't called, so while the correct
values are stored to the settings, they aren't retrieved. Let's revert while
this gets fixed.
Fixes #1609
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4bb72160a6
commit
2d87a657d2
6 changed files with 55 additions and 28 deletions
|
@ -32,6 +32,12 @@ void PreferencesDialog::emitSettingsChanged()
|
|||
|
||||
PreferencesDialog::PreferencesDialog()
|
||||
{
|
||||
//FIXME: This looks wrong.
|
||||
//QSettings s;
|
||||
//s.beginGroup("GeneralSettings");
|
||||
//s.setValue("default_directory", system_default_directory());
|
||||
//s.endGroup();
|
||||
|
||||
setWindowIcon(QIcon(":subsurface-icon"));
|
||||
pagesList = new QListWidget();
|
||||
pagesStack = new QStackedWidget();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue