Changed: Compile shortcuts code only under Windows

This commit is contained in:
kervala 2016-05-14 18:48:06 +02:00
parent 0e6b7ffde7
commit 77fd050c2d

View file

@ -47,6 +47,7 @@ wchar_t* qToWide(const QString &str)
return (wchar_t*)str.utf16();
}
#ifdef Q_OS_WIN32
// CreateLink - Uses the Shell's IShellLink and IPersistFile interfaces
// to create and store a shortcut to the specified object.
@ -180,3 +181,5 @@ HRESULT ResolveIt(HWND hwnd, const QString &linkFile, QString &path)
return hres;
}
#endif