mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-09-09 20:13:22 -04:00
remove ProgressDialog from fullscreen on gamescope
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
a9b485c656
commit
f7f7e1e336
@ -99,11 +99,6 @@ ProgressDialog::~ProgressDialog()
|
|||||||
|
|
||||||
void ProgressDialog::updateSize(bool recenterParent)
|
void ProgressDialog::updateSize(bool recenterParent)
|
||||||
{
|
{
|
||||||
if (DesktopServices::isGameScope()) {
|
|
||||||
this->showFullScreen();
|
|
||||||
this->setFixedSize(this->width(), this->height());
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
QSize lastSize = this->size();
|
QSize lastSize = this->size();
|
||||||
QPoint lastPos = this->pos();
|
QPoint lastPos = this->pos();
|
||||||
int minHeight = ui->globalStatusDetailsLabel->minimumSize().height() + (ui->verticalLayout->spacing() * 2);
|
int minHeight = ui->globalStatusDetailsLabel->minimumSize().height() + (ui->verticalLayout->spacing() * 2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user