added which compiler in the AboutDialog

This commit is contained in:
Rafael 2016-11-14 09:50:06 +01:00
parent 0e75913254
commit afbe8615d5
2 changed files with 17 additions and 1 deletions

View file

@ -30,7 +30,8 @@ AboutDialog::AboutDialog(QWidget *parent) :
QString appVersion = qApp->applicationVersion();
QString buildType = GTA5SYNC_BUILDTYPE;
buildType.replace("_", " ");
ui->labAbout->setText(aboutStr.arg(appVersion % " (" % buildType % ")", QT_VERSION_STR, qVersion(), __DATE__, __TIME__));
QString buildStr = QString("%1, %2").arg(QT_VERSION_STR, GTA5SYNC_COMPILER);
ui->labAbout->setText(aboutStr.arg(appVersion % " (" % buildType % ")", buildStr, qVersion(), __DATE__, __TIME__));
}
AboutDialog::~AboutDialog()