summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2023-03-09 13:20:20 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2023-03-15 09:20:41 +0000
commit33d129352a2674fdc8fc8c26b826a78f10e5f7a6 (patch)
tree1d37e0fc51f0ab9ba62f0236796ae7475e28d55f /share
parent3115f086efef4aebbb1f014bc685389b80893bb7 (diff)
downloadqbs-33d129352a2674fdc8fc8c26b826a78f10e5f7a6.tar.gz
freedesktop: Rename "name" property to "appName"
"name" is a built-in property of the Module item that must not be set by users. Astonishingly, this has worked so far due to the way the ModuleLoader code was written. Change-Id: I959bc0bba6b7c17a420fc6201031ab0bf4449292 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'share')
-rw-r--r--share/qbs/modules/freedesktop/FreeDesktop.qbs3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/qbs/modules/freedesktop/FreeDesktop.qbs b/share/qbs/modules/freedesktop/FreeDesktop.qbs
index 5fe7ed72c..60722c674 100644
--- a/share/qbs/modules/freedesktop/FreeDesktop.qbs
+++ b/share/qbs/modules/freedesktop/FreeDesktop.qbs
@@ -34,13 +34,14 @@ import "freedesktop.js" as Fdo
Module {
property string name: product.name
+ property string appName: name
property var desktopKeys
readonly property var defaultDesktopKeys: {
return {
'Type': 'Application',
- 'Name': product.freedesktop.name,
+ 'Name': product.freedesktop.appName,
'Exec': product.targetName,
'Terminal': 'false',
'Version': '1.1',