diff --git a/common/lc_application.cpp b/common/lc_application.cpp index 6661d251..68338e5a 100644 --- a/common/lc_application.cpp +++ b/common/lc_application.cpp @@ -369,6 +369,11 @@ bool lcApplication::Initialize(QList>& LibraryPaths, bool& ParseInteger(PartImagesHeight); else if (Param == QLatin1String("-v") || Param == QLatin1String("--version")) { +#ifdef LC_CONTINUOUS_BUILD + printf("LeoCAD Continuous Build " QT_STRINGIFY(LC_CONTINUOUS_BUILD) "\n"); +#else + printf("LeoCAD Version " LC_VERSION_TEXT "\n"); +#endif printf("LeoCAD Version " LC_VERSION_TEXT "\n"); printf("Compiled " __DATE__ "\n"); diff --git a/qt/lc_qaboutdialog.cpp b/qt/lc_qaboutdialog.cpp index d4398e1d..afb31f74 100644 --- a/qt/lc_qaboutdialog.cpp +++ b/qt/lc_qaboutdialog.cpp @@ -12,7 +12,7 @@ lcQAboutDialog::lcQAboutDialog(QWidget *parent) : ui->setupUi(this); #ifdef LC_CONTINUOUS_BUILD - ui->version->setText(tr("LeoCAD Continuous Build\nfrom commit %1").arg(QString::fromLatin1(QT_STRINGIFY(LC_CONTINUOUS_BUILD)))); + ui->version->setText(tr("LeoCAD Continuous Build %1").arg(QString::fromLatin1(QT_STRINGIFY(LC_CONTINUOUS_BUILD)))); #else ui->version->setText(tr("LeoCAD Version %1").arg(QString::fromLatin1(LC_VERSION_TEXT))); #endif