From 26851be53600483a4a35f14d7096ce85a64af97d Mon Sep 17 00:00:00 2001 From: Pyraqq <46277816+Pyraqq@users.noreply.github.com> Date: Thu, 23 Dec 2021 23:53:26 +0100 Subject: Add version to window title (#613) Also updated the translation files for missing strings and updated the Polish translation. --- src/lobby.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lobby.cpp') 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); -- cgit