UI: Make drag and drop file ext. case insensitive
Fixes obsproject/obs-studio#4236
This commit is contained in:
parent
dcf3e6cd06
commit
7d5430f4ea
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue