Use the background image given by arraybolt3.

This commit is contained in:
Simon Quigley 2022-06-29 21:25:23 -05:00
parent 76bd63729c
commit cd3376befe
3 changed files with 4 additions and 2 deletions

View File

@ -4,4 +4,6 @@ This project is in **VERY VERY EARLY ALPHA**. It doesn't even do anything yet.
Eventually it's going to present a "Try or Install Lubuntu" menu.
Licensing info: 2022 Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
Licensing info:
- Everything is GPL-3 by 2022 Lubuntu Developers <lubuntu-devel@lists.ubuntu.com> unless stated otherwise.
- img/background.png is licensed CC-BY-4.0, authored by Aaron Rainbolt <arraybolt3@gmail.com>, copyright ownership the same as source

BIN
img/background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

View File

@ -8,7 +8,7 @@ MainWindow::MainWindow(QWidget *parent)
ui->setupUi(this);
// Set the background image, and let it change with the release
QPixmap bg("/usr/share/lubuntu/wallpapers/lubuntu-default-wallpaper.png");
QPixmap bg("../img/background.png");
bg = bg.scaled(this->size(), Qt::IgnoreAspectRatio);
QPalette palette;
palette.setBrush(QPalette::Window, bg);