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

Merge pull request #4391

Łukasz Żarnowiecki (1):
      fix(settings): compute toxcore version in runtime
This commit is contained in:
sudden6 2017-05-14 12:48:20 +02:00
commit 9aca348db9
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -73,9 +73,9 @@ void AboutForm::replaceVersions()
// TODO: When we finally have stable releases: build-in a way to tell
// nightly builds from stable releases.
QString TOXCORE_VERSION = QString::number(TOX_VERSION_MAJOR) + "."
+ QString::number(TOX_VERSION_MINOR) + "."
+ QString::number(TOX_VERSION_PATCH);
QString TOXCORE_VERSION = QString::number(tox_version_major()) + "."
+ QString::number(tox_version_minor()) + "."
+ QString::number(tox_version_patch());
bodyUI->youAreUsing->setText(tr("You are using qTox version %1.").arg(QString(GIT_DESCRIBE)));