From affa4b43443a980ff2e80441a9e340801ccc8159 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 29 Jan 2017 11:00:59 +0100 Subject: Reading version tag from repo --- src/mainwindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.cpp') 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("

smolbote

" + QMessageBox::about(this, tr("About"), tr("

smolbote %1

" "

yet another Qute browser

" "

Copyright (C) 2017 Xian Nox

" "

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.

")); + "This is free software, and you are welcome to redistribute it under the conditions set by the GNU GPLv3.

") + .arg(qApp->applicationVersion())); } void MainWindow::loadProfile(const QString &name) -- cgit v1.2.1