mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove second parameter (bool force) in set_filename()
The last force=false case was removed in commit 96d1cc570e
.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
fa469aa86c
commit
ea0cbba804
5 changed files with 16 additions and 18 deletions
|
@ -560,10 +560,8 @@ QLocale getLocale()
|
|||
return loc;
|
||||
}
|
||||
|
||||
void set_filename(const char *filename, bool force)
|
||||
void set_filename(const char *filename)
|
||||
{
|
||||
if (!force && existing_filename)
|
||||
return;
|
||||
free((void *)existing_filename);
|
||||
if (filename)
|
||||
existing_filename = strdup(filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue