mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
c679ed550e
commit
83c2addfef
4 changed files with 212 additions and 193 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue