aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorKarol Kosek <krkk@krkk.ct8.pl>2021-04-08 18:26:07 +0200
committerFelix Queißner <felix@ib-queissner.de>2021-04-09 07:52:27 +0200
commit60d3e221c0f799cad71d5e539b896ab26246b381 (patch)
tree04720e94dc33fb2c2196c282e62cb9aebaaf88c5 /src/mainwindow.cpp
parent55b0f37badfea34e4c675a0429b5fa3478a18ef6 (diff)
downloadkristall-60d3e221c0f799cad71d5e539b896ab26246b381.tar.gz
Show application version in the about dialog
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index ba2979a..fd28d67 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -506,11 +506,12 @@ void MainWindow::on_actionAbout_triggered()
{
QMessageBox::about(this,
tr("Kristall"),
-tr(R"about(Kristall, an OpenSource Gemini browser.
+tr(R"about(Kristall %1
+An OpenSource Gemini browser.
Made by Felix "xq" Queißner
This is free software. You can get the source code at
-https://github.com/MasterQ32/Kristall)about")
+https://github.com/MasterQ32/Kristall)about").arg(QApplication::applicationVersion())
);
}