1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge remote-tracking branch 'PKEv/fix_#1977_no_link_if_no_GIT_VERSION'

no link if no GIT_VERSION
This commit is contained in:
agilob 2015-08-26 19:53:11 +01:00
commit b02cf2dbc7
No known key found for this signature in database
GPG Key ID: 296F0B764741106C

View File

@ -30,6 +30,8 @@ AboutForm::AboutForm() :
//to-do: when we finally have stable releases: build-in a way to tell
//nightly builds from stable releases.
bodyUI->label_4->setText(bodyUI->label_4->text().replace("GIT_VERSION", QString(GIT_VERSION)));
if (QString(GIT_VERSION).indexOf(" ") > -1)
bodyUI->label_4->setOpenExternalLinks(false);
Translator::registerHandler(std::bind(&AboutForm::retranslateUi, this), this);
}