diff options
author | kh1 <karsten.heimrich@digia.com> | 2012-11-08 15:32:40 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2012-11-08 15:47:56 +0100 |
commit | d3e522055bb58e8d4aa735ef8c0c449b7b32effc (patch) | |
tree | 3f46b6b1ed682b6124d52dc5ce2b770c8a7d9c5d /src/libs/installer/createshortcutoperation.cpp | |
parent | 83f324972d3e83ea64d399fc31c8d16edc7eee29 (diff) |
Support stone age OS's as well, seems some users didn't yet upgrade.
Change-Id: Ifdd5d62658c3258a8647f88bcab84555ee58419b
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/libs/installer/createshortcutoperation.cpp')
-rw-r--r-- | src/libs/installer/createshortcutoperation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/createshortcutoperation.cpp b/src/libs/installer/createshortcutoperation.cpp index 7c181290b..3683476e6 100644 --- a/src/libs/installer/createshortcutoperation.cpp +++ b/src/libs/installer/createshortcutoperation.cpp @@ -119,11 +119,11 @@ static bool createLink(const QString &fileName, const QString &linkName, QString psl->Release(); PIDLIST_ABSOLUTE pidl; // Force start menu cache update - if (SUCCEEDED(SHGetKnownFolderIDList(FOLDERID_StartMenu, 0, 0, &pidl))) { + if (SUCCEEDED(SHGetFolderLocation(0, CSIDL_STARTMENU, 0, 0, &pidl))) { SHChangeNotify(SHCNE_UPDATEDIR, SHCNF_IDLIST, pidl, 0); CoTaskMemFree(pidl); } - if (SUCCEEDED(SHGetKnownFolderIDList(FOLDERID_CommonStartMenu, 0, 0, &pidl))) { + if (SUCCEEDED(SHGetFolderLocation(0, CSIDL_COMMON_STARTMENU, 0, 0, &pidl))) { SHChangeNotify(SHCNE_UPDATEDIR, SHCNF_IDLIST, pidl, 0); CoTaskMemFree(pidl); } |