summaryrefslogtreecommitdiff
path: root/src/main-lib/defaultconfiguration.h
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2022-03-21 23:42:44 +0100
committerRobert Griebl <robert.griebl@qt.io>2022-03-22 14:44:39 +0000
commitbc06a04dd845d039ba802f94b5eae57519ec63a8 (patch)
treef8080dff2b7f24a20661b9dc1d1340af93c30375 /src/main-lib/defaultconfiguration.h
parent8f0a7fc2429b01f4196e615e1dff2be13f26306d (diff)
downloadqtapplicationmanager-bc06a04dd845d039ba802f94b5eae57519ec63a8.tar.gz
Handle an empty or invalid documentDir correctly
Not specifying the documentDir, but enabling the installer would - unexpectedly - use $PWD as documentDir. The code does now follow the documentation: if not set, no document directories will be created on package installation. Also, we now fail early if the documentDir and installationDir are sub-directories of each other, as that would lead to mayhem on PackageManager::cleanupBrokenInstallations(). Change-Id: Id8d89f82bf0d63c771f3d86a963c66681f43f195 Fixes: QTBUG-101881 Pick-to: 6.3 6.2 5.15 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
Diffstat (limited to 'src/main-lib/defaultconfiguration.h')
0 files changed, 0 insertions, 0 deletions