diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-22 06:57:08 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-27 15:05:37 -0700 |
commit | ec136defa8eb87c816ba5f3ea3cbfd9e61150ee6 (patch) | |
tree | ab395479874e4a7e473a0f2914c8e0ac3d4292f8 | |
parent | 4b1edceca0342a403ee549987e156b03ce8767e0 (diff) | |
download | subsurface-ec136defa8eb87c816ba5f3ea3cbfd9e61150ee6.tar.gz |
QML UI: set the default local repo to load
This will allow the user to open a repo that was stored in no cloud mode.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | subsurface-mobile-main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index fc570a96b..e18d40794 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -48,6 +48,9 @@ int main(int argc, char **argv) taglist_init_global(); init_ui(); loadPreferences(); + if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE) + set_filename(prefs.default_filename, true); + // some hard coded settings prefs.animation_speed = 0; // we render the profile to pixmap, no animations |