QTfrontend/hwform.cpp
changeset 14677 93429d8f6b3f
parent 14670 56831f466d1d
child 14740 7b2bd37d7503
equal deleted inserted replaced
14676:9377ee00f1f1 14677:93429d8f6b3f
  2251                    + " --user-prefix " + userPrefix
  2251                    + " --user-prefix " + userPrefix
  2252                    + " --fullscreen-width " + QString::number(resolutions.first.width())
  2252                    + " --fullscreen-width " + QString::number(resolutions.first.width())
  2253                    + " --fullscreen-height " + QString::number(resolutions.first.height())
  2253                    + " --fullscreen-height " + QString::number(resolutions.first.height())
  2254                    + " --width " + QString::number(resolutions.second.width())
  2254                    + " --width " + QString::number(resolutions.second.width())
  2255                    + " --height " + QString::number(resolutions.second.height())
  2255                    + " --height " + QString::number(resolutions.second.height())
       
  2256                    + (config->zoom() == 100 ? "" : " --zoom " + QString::number(config->zoom()))
  2256                    + " --volume " + QString::number(config->volume())
  2257                    + " --volume " + QString::number(config->volume())
  2257                    + (config->isMusicEnabled() ? "" : " --nomusic")
  2258                    + (config->isMusicEnabled() ? "" : " --nomusic")
  2258                    + (config->isSoundEnabled() ? "" : " --nosound")
  2259                    + (config->isSoundEnabled() ? "" : " --nosound")
  2259                    + (config->isAudioDampenEnabled() ? "" : " --nodampen")
  2260                    + (config->isAudioDampenEnabled() ? "" : " --nodampen")
  2260                    + " --locale " + config->language() + ".txt"
  2261                    + " --locale " + config->language() + ".txt"