mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: turn existing_filename into std::string
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
37f2207f94
commit
41cb916060
10 changed files with 59 additions and 55 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue