mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 21:13:04 +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) \
|
#define CHECK_SUFFIX(extensions, type) \
|
||||||
cmp = extensions; \
|
cmp = extensions; \
|
||||||
while (*cmp) { \
|
while (*cmp) { \
|
||||||
if (strcmp(*cmp, suffix) == 0) { \
|
if (astrcmpi(*cmp, suffix) == 0) { \
|
||||||
AddDropSource(QT_TO_UTF8(file), type); \
|
AddDropSource(QT_TO_UTF8(file), type); \
|
||||||
found = true; \
|
found = true; \
|
||||||
break; \
|
break; \
|
||||||
|
Loading…
Reference in New Issue
Block a user