diff options
Diffstat (limited to 'core/qthelper.cpp')
-rw-r--r-- | core/qthelper.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp index 7f72fd9a2..b63ea3929 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -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); |