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:
Berthold Stoeger 2017-12-10 22:22:13 +01:00 committed by Lubomir I. Ivanov
parent fa469aa86c
commit ea0cbba804
5 changed files with 16 additions and 18 deletions

View file

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