diff --git a/launcher/ui/dialogs/AboutDialog.cpp b/launcher/ui/dialogs/AboutDialog.cpp index 5b7d44ff7..f1d6132dd 100644 --- a/launcher/ui/dialogs/AboutDialog.cpp +++ b/launcher/ui/dialogs/AboutDialog.cpp @@ -37,6 +37,7 @@ #include #include "Application.h" #include "BuildConfig.h" +#include "DesktopServices.h" #include "Markdown.h" #include "StringUtils.h" #include "ui_AboutDialog.h" @@ -180,6 +181,10 @@ AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent), ui(new Ui::AboutDia connect(ui->closeButton, &QPushButton::clicked, this, &AboutDialog::close); connect(ui->aboutQt, &QPushButton::clicked, &QApplication::aboutQt); + if (DesktopServices::isGameScope()) { + showFullScreen(); + setFixedSize(this->width(), this->height()); + } } AboutDialog::~AboutDialog() diff --git a/launcher/ui/dialogs/InstallLoaderDialog.cpp b/launcher/ui/dialogs/InstallLoaderDialog.cpp index 7082125f2..9608eac21 100644 --- a/launcher/ui/dialogs/InstallLoaderDialog.cpp +++ b/launcher/ui/dialogs/InstallLoaderDialog.cpp @@ -128,6 +128,10 @@ InstallLoaderDialog::InstallLoaderDialog(std::shared_ptr profile, c connect(container, &PageContainer::selectedPageChanged, this, [this](BasePage* previous, BasePage* current) { validate(current); }); pageCast(container->selectedPage())->selectSearch(); validate(container->selectedPage()); + if (DesktopServices::isGameScope()) { + showFullScreen(); + setFixedSize(this->width(), this->height()); + } } QList InstallLoaderDialog::getPages() diff --git a/launcher/ui/dialogs/VersionSelectDialog.cpp b/launcher/ui/dialogs/VersionSelectDialog.cpp index 30377288b..38c9496eb 100644 --- a/launcher/ui/dialogs/VersionSelectDialog.cpp +++ b/launcher/ui/dialogs/VersionSelectDialog.cpp @@ -42,6 +42,7 @@ #include #include +#include "DesktopServices.h" #include "ui/widgets/VersionSelectWidget.h" #include "BaseVersion.h" @@ -90,6 +91,10 @@ VersionSelectDialog::VersionSelectDialog(BaseVersionList* vlist, QString title, if (!cancelable) { m_buttonBox->button(QDialogButtonBox::Cancel)->setEnabled(false); } + if (DesktopServices::isGameScope()) { + this->showFullScreen(); + this->setFixedSize(this->width(), this->height()); + } } void VersionSelectDialog::retranslate()