diff options
author | Ken Moore <ken@ixsystems.com> | 2016-12-01 08:24:00 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-12-01 08:24:00 -0500 |
commit | a3e934d2defa7831204ff2bd2e1bd030dcfae80c (patch) | |
tree | 80a9b1d24f3c81ddcecbb104fd42b9baee9503df /src-qt5/core/lumina-desktop/BootSplash.cpp | |
parent | Have lumina-archiver just open the containing folder when extracting multiple... (diff) | |
download | lumina-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.cpp | 2 |
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 |