mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
UI: Make drag and drop file ext. case insensitive
Fixes obsproject/obs-studio#4236
This commit is contained in:
parent
dcf3e6cd06
commit
7d5430f4ea
@ -247,7 +247,7 @@ void OBSBasic::dropEvent(QDropEvent *event)
|
||||
#define CHECK_SUFFIX(extensions, type) \
|
||||
cmp = extensions; \
|
||||
while (*cmp) { \
|
||||
if (strcmp(*cmp, suffix) == 0) { \
|
||||
if (astrcmpi(*cmp, suffix) == 0) { \
|
||||
AddDropSource(QT_TO_UTF8(file), type); \
|
||||
found = true; \
|
||||
break; \
|
||||
|
Loading…
Reference in New Issue
Block a user