Browse Source

Fix warning C4090.

different '__unaligned' qualifiers.
adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
5d2d22a218
  1. 2
      src/base/utils/misc.cpp

2
src/base/utils/misc.cpp

@ -580,7 +580,7 @@ void Utils::Misc::openFolderSelect(const QString &absolutePath) @@ -580,7 +580,7 @@ void Utils::Misc::openFolderSelect(const QString &absolutePath)
}
#ifdef Q_OS_WIN
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) {
::SHOpenFolderAndSelectItems(pidl, 0, nullptr, 0);
::ILFree(pidl);

Loading…
Cancel
Save