aboutsummaryrefslogtreecommitdiff
path: root/src/forms/aboutdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/forms/aboutdialog.cpp')
-rw-r--r--src/forms/aboutdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/forms/aboutdialog.cpp b/src/forms/aboutdialog.cpp
index 38a5196..25c5384 100644
--- a/src/forms/aboutdialog.cpp
+++ b/src/forms/aboutdialog.cpp
@@ -2,7 +2,7 @@
* This file is part of smolbote. It's copyrighted by the contributors recorded
* in the version control history of the file, available from its original
* location: git://neueland.iserlohn-fortress.net/smolbote.git
- *
+ *
* SPDX-License-Identifier: GPL-3.0
*/
@@ -22,7 +22,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
aboutLabel->setWordWrap(true);
aboutLabel->setText(tr("<h2>smolbote %1</h2>"
"<p><i>yet another Qute browser</i></p>")
- .arg(qApp->applicationVersion()));
+ .arg(qApp->applicationVersion().left(qApp->applicationVersion().indexOf('-'))));
ui->toolBox->addItem(aboutLabel, tr("About"));
QLabel *licenseLabel = new QLabel(this);