Use the background image given by arraybolt3.

pull/1/head
Simon Quigley 3 years ago
parent 76bd63729c
commit cd3376befe

@ -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. 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

@ -8,7 +8,7 @@ MainWindow::MainWindow(QWidget *parent)
ui->setupUi(this); ui->setupUi(this);
// Set the background image, and let it change with the release // 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); bg = bg.scaled(this->size(), Qt::IgnoreAspectRatio);
QPalette palette; QPalette palette;
palette.setBrush(QPalette::Window, bg); palette.setBrush(QPalette::Window, bg);

Loading…
Cancel
Save