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>
This commit is contained in:
Dirk Hohndel 2016-04-22 06:57:08 -07:00
parent 4b1edceca0
commit ec136defa8

View file

@ -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