1
0
Fork 0
forked from suyu/suyu

Set Minimum Size to the same as renderwindow

This commit is contained in:
James Rowe 2019-01-21 08:51:37 -07:00
parent aa427bb2a7
commit 3740adb6f5

View file

@ -69,6 +69,7 @@ LoadingScreen::LoadingScreen(QWidget* parent)
: QWidget(parent), ui(std::make_unique<Ui::LoadingScreen>()),
previous_stage(VideoCore::LoadCallbackStage::Complete) {
ui->setupUi(this);
setMinimumSize(1280, 720);
connect(this, &LoadingScreen::LoadProgress, this, &LoadingScreen::OnLoadProgress,
Qt::QueuedConnection);