mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Add version as from class
This commit is contained in:
parent
f9a777be48
commit
a9170d35ca
@ -54,7 +54,7 @@ App::App()
|
||||
QGuiApplication::setOrganizationName("ScreenPlay");
|
||||
QGuiApplication::setOrganizationDomain("https://screen-play.app");
|
||||
QGuiApplication::setApplicationName("ScreenPlay");
|
||||
QGuiApplication::setApplicationVersion("0.13.0");
|
||||
QGuiApplication::setApplicationVersion("0.13.1");
|
||||
QGuiApplication::setQuitOnLastWindowClosed(false);
|
||||
|
||||
QFontDatabase::addApplicationFont(":/assets/fonts/LibreBaskerville-Italic.ttf");
|
||||
@ -208,6 +208,11 @@ void App::init()
|
||||
QObject::connect(m_monitorListModel.get(), &MonitorListModel::monitorConfigurationChanged, m_screenPlayManager.get(), &ScreenPlayManager::closeAllWallpapers);
|
||||
}
|
||||
|
||||
QString App::version() const
|
||||
{
|
||||
return QGuiApplication::applicationVersion();
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Tries to send the telemetry quit event before we call quit ourself.
|
||||
*/
|
||||
|
@ -118,7 +118,7 @@ signals:
|
||||
void wizardsChanged(Wizards* wizards);
|
||||
|
||||
public slots:
|
||||
|
||||
QString version() const;
|
||||
void exit();
|
||||
bool loadSteamPlugin();
|
||||
bool unloadSteamPlugin();
|
||||
|
@ -24,7 +24,7 @@ ApplicationWindow {
|
||||
visible: false
|
||||
width: 1400
|
||||
height: 788
|
||||
title: "ScreenPlay Alpha - 0.13.0"
|
||||
title: "ScreenPlay Alpha - " + ScreenPlay.version();
|
||||
minimumHeight: 450
|
||||
minimumWidth: 1050
|
||||
onVisibilityChanged: {
|
||||
|
Loading…
Reference in New Issue
Block a user