mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 18:08:44 +00:00
Changed: Compile shortcuts code only under Windows
This commit is contained in:
parent
17bec77777
commit
66c8269aad
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,7 @@ wchar_t* qToWide(const QString &str)
|
||||||
return (wchar_t*)str.utf16();
|
return (wchar_t*)str.utf16();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef Q_OS_WIN32
|
||||||
|
|
||||||
// CreateLink - Uses the Shell's IShellLink and IPersistFile interfaces
|
// CreateLink - Uses the Shell's IShellLink and IPersistFile interfaces
|
||||||
// to create and store a shortcut to the specified object.
|
// 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;
|
return hres;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue