diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-07-25 22:08:25 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-25 22:08:25 -0700 |
commit | 83c2addfef473dc7b463156272e598f88c798c9c (patch) | |
tree | 48d509f71b40a1a0106f2b86a709e838925a2bde /qthelper.h | |
parent | c679ed550ee96f4e757f66b94f333619ef261c60 (diff) | |
download | subsurface-83c2addfef473dc7b463156272e598f88c798c9c.tar.gz |
Move initialization of preferences to helper function
This way we can read the preferences without instantiating the
PreferencesDialog class.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qthelper.h')
-rw-r--r-- | qthelper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qthelper.h b/qthelper.h index 0f112ff70..1beafa27f 100644 --- a/qthelper.h +++ b/qthelper.h @@ -34,4 +34,5 @@ pressure_t string_to_pressure(const char *str); volume_t string_to_volume(const char *str, pressure_t workp); fraction_t string_to_fraction(const char *str); int getCloudURL(QString &filename); +void loadPreferences(); #endif // QTHELPER_H |