summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2021-02-10 14:39:23 +0200
committerKatja Marttila <katja.marttila@qt.io>2021-02-16 10:14:54 +0000
commit5b1b81e9aa4e50548e895978b44745597e8c037e (patch)
treeddafbe319ca75e8554471cb1b4751be361363ac9 /src/libs
parent2690fc7c7669c46f326f01f356e71f9d3d1b7e80 (diff)
Fix DesktopDir value for AllUsers
Correct value is 'Common Desktop' for AllUsers instead of 'Desktop'. Change-Id: Ice375f56401600e50d126694bbb0a7cc1bb61ad9 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/installer/packagemanagercoredata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/packagemanagercoredata.cpp b/src/libs/installer/packagemanagercoredata.cpp
index 2f3dd9204..cac1d5770 100644
--- a/src/libs/installer/packagemanagercoredata.cpp
+++ b/src/libs/installer/packagemanagercoredata.cpp
@@ -170,7 +170,7 @@ void PackageManagerCoreData::setDynamicPredefinedVariables()
QString desktop;
if (m_variables.value(QLatin1String("AllUsers")) == scTrue) {
- desktop = system.value(QLatin1String("Desktop")).toString();
+ desktop = system.value(QLatin1String("Common Desktop")).toString();
} else {
desktop = user.value(QLatin1String("Desktop")).toString();
}