Make the sha1 text a link to the corresponding page
This commit is contained in:
parent
6dfeeba7f9
commit
831b958f39
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,8 @@ VersionWindow::VersionWindow(nana::window owner) :
|
||||||
m_short_desc.caption(std::string("is part of <bold>" PROJECT_NAME "</> v") + project_ver());
|
m_short_desc.caption(std::string("is part of <bold>" PROJECT_NAME "</> v") + project_ver());
|
||||||
|
|
||||||
if constexpr (sizeof(PROJECT_GIT_SHA1) > 1) {
|
if constexpr (sizeof(PROJECT_GIT_SHA1) > 1) {
|
||||||
m_git_revision.caption("git revision " PROJECT_GIT_SHA1);
|
m_git_revision.format(true);
|
||||||
|
m_git_revision.caption(string("git revision <url=\"") + PROJECT_REPO_URL + "/commit/" + PROJECT_GIT_SHA1 + "\">" + PROJECT_GIT_SHA1 + "</>");
|
||||||
}
|
}
|
||||||
|
|
||||||
m_repo_link_1.format(true);
|
m_repo_link_1.format(true);
|
||||||
|
|
Loading…
Add table
Reference in a new issue