Make launcher summary version dynamic.
This commit is contained in:
parent
4b48aca411
commit
3c8bedb9c3
2 changed files with 4 additions and 1 deletions
|
@ -407,7 +407,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="0" column="3" colspan="2">
|
||||
<widget class="QLabel" name="label">
|
||||
<widget class="QLabel" name="appTitleLabel">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>48</pointsize>
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include <Main/options.hxx>
|
||||
#include <Main/fg_init.hxx>
|
||||
#include <Main/fg_props.hxx>
|
||||
#include "version.h"
|
||||
|
||||
// launcher headers
|
||||
#include "QtLauncher.hxx"
|
||||
|
@ -93,6 +94,8 @@ LauncherMainWindow::LauncherMainWindow() :
|
|||
m_ui.reset(new Ui::Launcher);
|
||||
m_ui->setupUi(this);
|
||||
|
||||
m_ui->appTitleLabel->setText(tr("FlightGear %1").arg(FLIGHTGEAR_VERSION));
|
||||
|
||||
QMenuBar* mb = menuBar();
|
||||
|
||||
#if !defined(Q_OS_MAC)
|
||||
|
|
Loading…
Reference in a new issue