core: turn existing_filename into std::string

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-03-16 16:06:39 +01:00 committed by bstoeger
parent 37f2207f94
commit 41cb916060
10 changed files with 59 additions and 55 deletions

View file

@ -79,9 +79,9 @@ int main(int argc, char **argv)
}
init_ui();
if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE)
set_filename(prefs.default_filename);
existing_filename = prefs.default_filename;
else
set_filename(NULL);
existing_filename.clear();
// some hard coded settings
qPrefCloudStorage::set_save_password_local(true);