Display version number in toolbar on the settings page

Fixes #341
This commit is contained in:
Cameron Gutman
2020-05-09 22:20:39 -07:00
parent fc9871b075
commit 12016af326
3 changed files with 12 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
SystemProperties::SystemProperties()
{
versionString = QString(VERSION_STR);
hasWindowManager = WMUtils::isRunningWindowManager();
isRunningWayland = WMUtils::isRunningWayland();
isRunningXWayland = isRunningWayland && QGuiApplication::platformName() == "xcb";