remove ProgressDialog from fullscreen on gamescope

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2025-03-30 00:54:22 +02:00
parent a9b485c656
commit f7f7e1e336
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -99,11 +99,6 @@ ProgressDialog::~ProgressDialog()
void ProgressDialog::updateSize(bool recenterParent)
{
if (DesktopServices::isGameScope()) {
this->showFullScreen();
this->setFixedSize(this->width(), this->height());
return;
}
QSize lastSize = this->size();
QPoint lastPos = this->pos();
int minHeight = ui->globalStatusDetailsLabel->minimumSize().height() + (ui->verticalLayout->spacing() * 2);