aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/BootSplash.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-12-01 08:24:00 -0500
committerKen Moore <ken@ixsystems.com>2016-12-01 08:24:00 -0500
commita3e934d2defa7831204ff2bd2e1bd030dcfae80c (patch)
tree80a9b1d24f3c81ddcecbb104fd42b9baee9503df /src-qt5/core/lumina-desktop/BootSplash.cpp
parentHave lumina-archiver just open the containing folder when extracting multiple... (diff)
downloadlumina-a3e934d2defa7831204ff2bd2e1bd030dcfae80c.tar.gz
lumina-a3e934d2defa7831204ff2bd2e1bd030dcfae80c.tar.bz2
lumina-a3e934d2defa7831204ff2bd2e1bd030dcfae80c.zip
Add the Lumina version to the bottom of the boot splash as well.
Diffstat (limited to 'src-qt5/core/lumina-desktop/BootSplash.cpp')
-rw-r--r--src-qt5/core/lumina-desktop/BootSplash.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/BootSplash.cpp b/src-qt5/core/lumina-desktop/BootSplash.cpp
index e8a2decc..f7981670 100644
--- a/src-qt5/core/lumina-desktop/BootSplash.cpp
+++ b/src-qt5/core/lumina-desktop/BootSplash.cpp
@@ -3,6 +3,7 @@
#include <LuminaXDG.h>
#include <LUtils.h>
+#include <LDesktopUtils.h>
BootSplash::BootSplash() : QWidget(0, Qt::SplashScreen | Qt::X11BypassWindowManagerHint | Qt::WindowStaysOnTopHint | Qt::WindowDoesNotAcceptFocus), ui(new Ui::BootSplash){
ui->setupUi(this);
@@ -15,6 +16,7 @@ BootSplash::BootSplash() : QWidget(0, Qt::SplashScreen | Qt::X11BypassWindowMana
if(random.endsWith("\n")){ random.chop(1); }
ui->label_welcome->setText( "\""+random+"\"" );
}
+ ui->label_version->setText( QString(tr("Version %1")).arg(LDesktopUtils::LuminaDesktopVersion()) );
}
void BootSplash::showScreen(QString loading){ //update icon, text, and progress
bgstack15