mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Fix warning C4090.
different '__unaligned' qualifiers.
This commit is contained in:
parent
11c2ee81c1
commit
5d2d22a218
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ void Utils::Misc::openFolderSelect(const QString &absolutePath)
|
||||||
}
|
}
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
HRESULT hresult = ::CoInitializeEx(nullptr, COINIT_MULTITHREADED);
|
HRESULT hresult = ::CoInitializeEx(nullptr, COINIT_MULTITHREADED);
|
||||||
ITEMIDLIST *pidl = ::ILCreateFromPathW(reinterpret_cast<PCTSTR>(Utils::Fs::toNativePath(path).utf16()));
|
PIDLIST_ABSOLUTE pidl = ::ILCreateFromPathW(reinterpret_cast<PCTSTR>(Utils::Fs::toNativePath(path).utf16()));
|
||||||
if (pidl) {
|
if (pidl) {
|
||||||
::SHOpenFolderAndSelectItems(pidl, 0, nullptr, 0);
|
::SHOpenFolderAndSelectItems(pidl, 0, nullptr, 0);
|
||||||
::ILFree(pidl);
|
::ILFree(pidl);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue