X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Faboutdialog.cpp;h=def415111aa664cb530b1a5bd74e7dae1fe14926;hb=e9bec1e17f41f66d3567148e110fe8a3b6451fb3;hp=94ef345d92d8a690a46a68ebc4c1e5520684f80f;hpb=c913b0254382c2a1bd7410d720e45dfc63223c9c;p=nageru diff --git a/nageru/aboutdialog.cpp b/nageru/aboutdialog.cpp index 94ef345..def4151 100644 --- a/nageru/aboutdialog.cpp +++ b/nageru/aboutdialog.cpp @@ -10,6 +10,9 @@ AboutDialog::AboutDialog() : ui(new Ui::AboutDialog) { ui->setupUi(this); + QString str = ui->header->text(); + str.replace("@NAGERU_VERSION@", NAGERU_VERSION); + ui->header->setText(str); connect(ui->button_box, &QDialogButtonBox::accepted, [this]{ this->close(); }); }