mirror of
https://github.com/huderlem/porymap.git
synced 2026-03-22 01:54:46 -05:00
Fix missing first frame of loading screen
This commit is contained in:
parent
54461991f7
commit
7b7eb221e5
|
|
@ -19,8 +19,6 @@ PorymapLoadingScreen::PorymapLoadingScreen(QWidget *parent) : QWidget(parent), u
|
|||
|
||||
this->splashImage.load(":/images/porysplash.gif");
|
||||
|
||||
this->setPixmap(QPixmap::fromImage(this->splashImage.frame(0)));
|
||||
|
||||
connect(&this->timer, &QTimer::timeout, this, &PorymapLoadingScreen::updateFrame);
|
||||
}
|
||||
|
||||
|
|
@ -30,6 +28,7 @@ void PorymapLoadingScreen::start() {
|
|||
this->ui->labelVersion->setText(AboutPorymap::getVersionString());
|
||||
shownVersion = true;
|
||||
}
|
||||
this->ui->labelPixmap->setPixmap(QPixmap::fromImage(this->splashImage.frame(0)));
|
||||
this->timer.start(120);
|
||||
this->show();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user