Make the sha1 text a link to the corresponding page

This commit is contained in:
King_DuckZ 2020-03-21 11:34:49 +01:00
parent 6dfeeba7f9
commit 831b958f39

View file

@ -44,7 +44,8 @@ VersionWindow::VersionWindow(nana::window owner) :
m_short_desc.caption(std::string("is part of <bold>" PROJECT_NAME "</> v") + project_ver());
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);