diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index 5844e7765..5d51dc340 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -8,6 +8,7 @@ extern "C" { #include <86box/plat.h> #include <86box/video.h> #include <86box/vid_ega.h> +#include <86box/version.h> }; #include @@ -1101,7 +1102,11 @@ void MainWindow::on_actionAbout_86Box_triggered() { QMessageBox msgBox; msgBox.setTextFormat(Qt::RichText); - msgBox.setText("About 86Box"); + QString githash; +#ifdef EMU_GIT_HASH + githash = QString(" [%1]").arg(EMU_GIT_HASH); +#endif + msgBox.setText(QString("86Box %1%2").arg(EMU_VERSION_FULL, githash)); msgBox.setInformativeText(R"( An emulator of old computers