aboutsummaryrefslogtreecommitdiff
path: root/src/lobby.cpp
diff options
context:
space:
mode:
authorPyraqq <46277816+Pyraqq@users.noreply.github.com>2021-12-23 23:53:26 +0100
committerGitHub <noreply@github.com>2021-12-23 16:53:26 -0600
commit26851be53600483a4a35f14d7096ce85a64af97d (patch)
tree663638dd5a0fa4de755ad181062b2d4827a206f7 /src/lobby.cpp
parentd9e69cca06ef98e6a0ea9bc22a990e735ee5a65f (diff)
Add version to window title (#613)
Also updated the translation files for missing strings and updated the Polish translation.
Diffstat (limited to 'src/lobby.cpp')
-rw-r--r--src/lobby.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lobby.cpp b/src/lobby.cpp
index 08fcaae6..54e4c704 100644
--- a/src/lobby.cpp
+++ b/src/lobby.cpp
@@ -12,8 +12,9 @@ Lobby::Lobby(AOApplication *p_ao_app) : QMainWindow()
{
ao_app = p_ao_app;
+
//
- this->setWindowTitle(tr("Attorney Online 2"));
+ this->setWindowTitle(tr("Attorney Online %1").arg(ao_app->applicationVersion()));
this->setWindowIcon(QIcon(":/logo.png"));
this->setWindowFlags( (this->windowFlags() | Qt::CustomizeWindowHint) & ~Qt::WindowMaximizeButtonHint);