]> git.sesse.net Git - nageru/blobdiff - nageru/aboutdialog.cpp
Make the Nageru version settable from the Meson configuration.
[nageru] / nageru / aboutdialog.cpp
index 94ef345d92d8a690a46a68ebc4c1e5520684f80f..def415111aa664cb530b1a5bd74e7dae1fe14926 100644 (file)
@@ -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(); });
 }