aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 087c5f8..bab0520 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -155,13 +155,18 @@ void MainWindow::closeEvent(QCloseEvent *event)
void MainWindow::about()
{
- QMessageBox::about(this, tr("About"), tr("<h3>smolbote %1</h3>"
+ QMessageBox::about(this, tr("About"), tr("<h2>smolbote %1</h2>"
"<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>"
- "<p>Configuration lives in: %2</p>")
- .arg(DESCRIBE).arg(sSettings->filePath()));
+ "<p>"
+ "Version: %2<br>"
+ "Configuration: %3"
+ "</p>")
+ .arg(qApp->applicationVersion())
+ .arg(qApp->applicationLongVersion())
+ .arg(sSettings->filePath()));
}
void MainWindow::loadProfile(const QString &name)