Use 'FindMimeFromData' from Win API instead of QMimeDatabase() functions to get the mimetype. Prevents freeze from VFS placeholders. #3012
Annotations
4 warnings
src/common/utility_win.cpp:50:9 [modernize-use-trailing-return-type]:
src/common/utility_win.cpp#L50
use a trailing return type for this function
|
src/common/utility_win.cpp:52:12 [cppcoreguidelines-init-variables]:
src/common/utility_win.cpp#L52
variable 'mimeTypeFound' is not initialized
|
src/common/utility_win.cpp:53:13 [cppcoreguidelines-init-variables]:
src/common/utility_win.cpp#L53
variable 'hr' is not initialized
|
src/common/utility_win.cpp:53:13 [readability-identifier-length]:
src/common/utility_win.cpp#L53
variable name 'hr' is too short, expected at least 3 characters
|