QTfrontend/hwform.cpp
changeset 8357 d7bef04c99d4
parent 8353 c23bd7ee9a5e
parent 8354 c25bee85d6f8
child 8363 0b4ac686fc44
child 8364 fbc9bcc6c39d
child 8377 869f80966a77
equal deleted inserted replaced
8355:df0ea4323295 8357:d7bef04c99d4
  1858 #ifdef Q_WS_WIN
  1858 #ifdef Q_WS_WIN
  1859     prefix = prefix.replace("/","\\");
  1859     prefix = prefix.replace("/","\\");
  1860     userPrefix = userPrefix.replace("/","\\");
  1860     userPrefix = userPrefix.replace("/","\\");
  1861 #endif
  1861 #endif
  1862 
  1862 
  1863     QRect resolution = config->vid_Resolution();
  1863     std::pair<QRect, QRect> resolutions = config->vid_ResolutionPair();
  1864     return QString("--prefix " + prefix
  1864     return QString("--prefix " + prefix
  1865                    + " --user-prefix " + userPrefix
  1865                    + " --user-prefix " + userPrefix
  1866                    + " --width " + QString::number(resolution.width())
  1866                    + " --fullscreen-width " + QString::number(resolutions.first.width())
  1867                    + " --height " + QString::number(resolution.height())
  1867                    + " --fullscreen-height " + QString::number(resolutions.first.height())
       
  1868                    + " --width " + QString::number(resolutions.second.width())
       
  1869                    + " --height " + QString::number(resolutions.second.height())
  1868                    + " --volume " + QString::number(config->volume())
  1870                    + " --volume " + QString::number(config->volume())
  1869                    + (config->isMusicEnabled() ? "" : " --nomusic")
  1871                    + (config->isMusicEnabled() ? "" : " --nomusic")
  1870                    + (config->isSoundEnabled() ? "" : " --nosound")
  1872                    + (config->isSoundEnabled() ? "" : " --nosound")
  1871                    + " --locale " + config->language() + ".txt"
  1873                    + " --locale " + config->language() + ".txt"
  1872                    + (config->vid_Fullscreen() ? " --fullscreen" : "")
  1874                    + (config->vid_Fullscreen() ? " --fullscreen" : "")