diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-29 11:00:59 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-29 11:00:59 +0100 |
commit | affa4b43443a980ff2e80441a9e340801ccc8159 (patch) | |
tree | f9d6d359250024160a3720d9bee6c8e45994074f /src/mainwindow.cpp | |
parent | Added qbs project file (diff) | |
download | smolbote-affa4b43443a980ff2e80441a9e340801ccc8159.tar.xz |
Reading version tag from repo
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 8f54b0b..8413b18 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -114,11 +114,12 @@ void MainWindow::closeEvent(QCloseEvent *event) void MainWindow::about() { - QMessageBox::about(this, tr("About"), tr("<h3>smolbote</h3>" + QMessageBox::about(this, tr("About"), tr("<h3>smolbote %1</h3>" "<p><i>yet another Qute browser</i></p>" "<p>Copyright (C) 2017 Xian Nox</p>" "<p>This program comes with ABSOLUTELY NO WARRANTY. " - "This is free software, and you are welcome to redistribute it under the conditions set by the GNU GPLv3.</p>")); + "This is free software, and you are welcome to redistribute it under the conditions set by the GNU GPLv3.</p>") + .arg(qApp->applicationVersion())); } void MainWindow::loadProfile(const QString &name) |