mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 12:47:44 +00:00
When on Steam Deck, set to native resolution
This commit is contained in:
parent
8b81051a53
commit
812ce4ac7c
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,12 @@ DesktopInterface::DesktopInterface(LauncherCore& core) {
|
||||||
if(oneWindow) {
|
if(oneWindow) {
|
||||||
mdiArea = new QMdiArea();
|
mdiArea = new QMdiArea();
|
||||||
mdiWindow = new QMainWindow();
|
mdiWindow = new QMainWindow();
|
||||||
|
|
||||||
|
if(isSteamDeck) {
|
||||||
|
mdiWindow->setWindowFlag(Qt::FramelessWindowHint);
|
||||||
|
mdiWindow->setFixedSize(1280, 800);
|
||||||
|
}
|
||||||
|
|
||||||
mdiWindow->setWindowTitle("Combined Interface");
|
mdiWindow->setWindowTitle("Combined Interface");
|
||||||
mdiWindow->setCentralWidget(mdiArea);
|
mdiWindow->setCentralWidget(mdiArea);
|
||||||
mdiWindow->show();
|
mdiWindow->show();
|
||||||
|
|
Loading…
Add table
Reference in a new issue