mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: Fix Crash when Adding JPG Image on MacOS.
Fix a crash on MacOS when trying to open a JPG image with libraw by filtering files by valid extensions for RAW files. Fixes #4377. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
71ebee8ab6
commit
5b5d2868e2
3 changed files with 6 additions and 5 deletions
|
|
@ -1092,7 +1092,7 @@ const QStringList videoExtensionsList = {
|
|||
};
|
||||
|
||||
// Raw extensions according to https://en.wikipedia.org/wiki/Raw_image_format
|
||||
static const QStringList rawExtensionsList = {
|
||||
const QStringList rawExtensionsList = {
|
||||
#ifdef LIBRAW_SUPPORT
|
||||
"*.3fr", "*.ari", "*.arw", "*.bay", "*.braw", "*.crw", "*.cr2", "*.cr3", "*.cap",
|
||||
"*.data", "*.dcs", "*.dcr", "*.dng", "*.drf", "*.eip", "*.erf", "*.fff", "*.gpr",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue