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:
commit
b02cf2dbc7
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user