mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 14:35:23 +00:00
Display software version in about dialog
This commit is contained in:
parent
7921c8db2f
commit
df2af0f2bf
2 changed files with 4 additions and 1 deletions
|
|
@ -104,7 +104,9 @@ AppWindow::AppWindow(QWidget *parent)
|
|||
connect(ui->actionAbout, &QAction::triggered, [=](){
|
||||
auto commit = QString(GITHASH);
|
||||
commit.truncate(7);
|
||||
QMessageBox::about(this, "About", "More information: github.com/jankae/VNA2\n\nVersion: " + commit);
|
||||
QMessageBox::about(this, "About", "More information: github.com/jankae/VNA2\n"
|
||||
"\nVersion: " + QString::number(FW_MAJOR) + "." + QString::number(FW_MINOR)
|
||||
+ "." + QString::number(FW_PATCH) + FW_SUFFIX + " ("+ commit+")");
|
||||
});
|
||||
|
||||
setWindowTitle("VNA");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue