diff options
| author | in1tiate <radwoodward@vikings.grayson.edu> | 2021-11-15 16:48:46 -0600 |
|---|---|---|
| committer | in1tiate <radwoodward@vikings.grayson.edu> | 2021-11-15 16:48:46 -0600 |
| commit | 101a5e506f77eb0a7282a4b5865fe498c954b049 (patch) | |
| tree | c8aefabed8bf472059cc7cc590085bb8b2cde2e4 /src | |
| parent | 2d38257878887dca8d460e0235eecc622c1d3fa3 (diff) | |
Fix all files being allowed past the suffix check for images
Diffstat (limited to 'src')
| -rw-r--r-- | src/text_file_functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index aedf3b8a..d873b3c1 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -517,7 +517,7 @@ QString AOApplication::get_sfx_suffix(VPath sound_to_check) QString AOApplication::get_image_suffix(VPath path_to_check, bool static_image) { - QStringList suffixes { "" }; + QStringList suffixes {}; if (!static_image) { suffixes.append({ ".webp", ".apng", ".gif" }); } |
