QTfrontend/hwform.cpp
branchui-scaling
changeset 15685 d92eeb468dad
parent 15321 a3823f0916b8
child 15482 751b992656ab
--- a/QTfrontend/hwform.cpp	Wed Jul 31 23:14:27 2019 +0200
+++ b/QTfrontend/hwform.cpp	Fri Jul 03 23:51:47 2020 +0200
@@ -2303,7 +2303,6 @@
         ui.pageCampaign->CBCampaign->setItemIcon(c, notFinishedIcon);
 }
 
-// used for --set-everything [screen width] [screen height] [color dept] [volume] [enable music] [enable sounds] [language file] [full screen] [show FPS] [alternate damage] [timer value] [reduced quality]
 QString HWForm::getDemoArguments()
 {
 
@@ -2321,6 +2320,7 @@
                    + " --fullscreen-height " + QString::number(resolutions.first.height())
                    + " --width " + QString::number(resolutions.second.width())
                    + " --height " + QString::number(resolutions.second.height())
+                   + (config->vid_Maximized() ? " --maximized" : "")
                    + (config->zoom() == 100 ? "" : " --zoom " + QString::number(config->zoom()))
                    + " --volume " + QString::number(config->volume())
                    + (config->isMusicEnabled() ? "" : " --nomusic")