diff options
author | Andrew Knight <andrew.knight@digia.com> | 2014-03-11 09:12:33 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-13 15:38:26 +0100 |
commit | db17c16a10e840e3ba6adc595a68af22620d27b6 (patch) | |
tree | e6179ebb51c3cf1708a84d1c46784e270c224153 | |
parent | eeb0ad35adb184ff17669a4be120d682b7d08045 (diff) | |
download | qttools-db17c16a10e840e3ba6adc595a68af22620d27b6.tar.gz |
qtd3dservice: Switch to HKLM for appx registry lookup
This works in service mode; the HKCR lookup did not.
Change-Id: Ic4f81f1cb78e03ba8dbde87edaa14ad94b092df5
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
-rw-r--r-- | src/qtd3dservice/d3dservice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qtd3dservice/d3dservice.cpp b/src/qtd3dservice/d3dservice.cpp index 1054bc631..1754866b9 100644 --- a/src/qtd3dservice/d3dservice.cpp +++ b/src/qtd3dservice/d3dservice.cpp @@ -623,8 +623,8 @@ DWORD __stdcall deviceWorker(LPVOID param) if (args->deviceName.isEmpty() || args->deviceName == QStringLiteral("local")) { appList = appxAppNames; LONG result = RegOpenKeyEx( - HKEY_CLASSES_ROOT, - L"\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\Repository\\Packages", + HKEY_LOCAL_MACHINE, + L"SOFTWARE\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\PackageRepository\\Packages", 0, KEY_NOTIFY, &waitKey); if (result != ERROR_SUCCESS) { qCWarning(lcD3DService) << "Unable to open registry key for Appx discovery:" |