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