diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2020-01-23 13:32:41 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2020-01-23 14:33:31 +0000 |
commit | ae9fbd04dd932707e8538676343ec6c6d5bcd250 (patch) | |
tree | afd11be811a16246e254b45a83246805b2c8b06e /cmake | |
parent | bf7b16d9ca2da237b1eb915a7c2ff83bfa482d3a (diff) | |
download | qt-creator-ae9fbd04dd932707e8538676343ec6c6d5bcd250.tar.gz |
Core: Make the revision sha in VersionDialog a clickable link
The base URL can be defined via the IDE branding mechanism. If omitted,
the revision is plain text, like before this change.
Change-Id: If1a74707a10c76e15d3d25b8e6b0c302219fb91d
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtCreatorIDEBranding.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/QtCreatorIDEBranding.cmake b/cmake/QtCreatorIDEBranding.cmake index 23b0d23615..95106b1cd4 100644 --- a/cmake/QtCreatorIDEBranding.cmake +++ b/cmake/QtCreatorIDEBranding.cmake @@ -12,3 +12,6 @@ set(IDE_DISPLAY_NAME "Qt Creator") # The IDE display name. set(IDE_ID "qtcreator") # The IDE id (no spaces, lowercase!) set(IDE_CASED_ID "QtCreator") # The cased IDE id (no spaces!) set(IDE_BUNDLE_IDENTIFIER "org.qt-project.${IDE_ID}") # The macOS application bundle identifier. + +set(IDE_REVISION_URL "https://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?id=%1") + # The revision url in the version dialog |