aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-11-20 16:15:31 -0500
committerKen Moore <ken@ixsystems.com>2017-11-20 16:15:31 -0500
commitdd7d701b2b457a11d22162d503a4c144b08b9a38 (patch)
treeb08b0eab0010e9ac410219166f969fa3d4279d9f /src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp
parentFix up the pkg-plist for all the Lumina ports: (diff)
downloadlumina-dd7d701b2b457a11d22162d503a4c144b08b9a38.tar.gz
lumina-dd7d701b2b457a11d22162d503a4c144b08b9a38.tar.bz2
lumina-dd7d701b2b457a11d22162d503a4c144b08b9a38.zip
Bump the version of Lumina to 1.4.0
Also ensure the lumina-theme-engine uses the same versioning system.
Diffstat (limited to 'src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp')
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp
index 28a5e558..6db249fe 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine/mainwindow.cpp
@@ -13,6 +13,8 @@
#include "qsspage.h"
#include "ui_mainwindow.h"
+#include <LDesktopUtils.h>
+
MainWindow::MainWindow(QWidget *parent) : QWidget(parent), m_ui(new Ui::MainWindow){
m_ui->setupUi(this);
bgroup = new QButtonGroup(this);
@@ -35,7 +37,8 @@ MainWindow::MainWindow(QWidget *parent) : QWidget(parent), m_ui(new Ui::MainWind
QSettings settings(lthemeengine::configFile(), QSettings::IniFormat);
restoreGeometry(settings.value("SettingsWindow/geometry").toByteArray());
setWindowIcon(QIcon::fromTheme("preferences-desktop-theme"));
- m_ui->versionLabel->setText(tr("Version: %1").arg(LTHEMEENGINE_VERSION_STR));
+ this->setWindowTitle(tr("Theme Settings"));
+ m_ui->versionLabel->setText(tr("Version: %1").arg(LDesktopUtils::LuminaDesktopVersion()));
}
MainWindow::~MainWindow(){
bgstack15