|
@@ -42,7 +42,8 @@ void MainWindow::Init() {
|
|
|
changeFontSizeRecursive(100, this);
|
|
|
updateGeometry();
|
|
|
|
|
|
- background = new QPixmap(":/assets/bg1.png");
|
|
|
+ qsrand(QTime(0,0,0).secsTo(QTime::currentTime()));
|
|
|
+ background = new QPixmap(":/assets/bg" + QString::number(qrand() % MAX_PIXMAP_ID + 1) + ".png");
|
|
|
setupWindowBackgroundAndMask();
|
|
|
setupMenuHoverWidget();
|
|
|
|