source/MainGUI.cpp
/**
 * Starts Warcraft 3 Reign of Chaos or The Frozen Throne (depending on the configuration) as detached process.
 */
Starts Warcraft 3 Reign of Chaos or The Frozen Throne (depending on the configuration) as detached process.
Starts Warcraft 3 Reign of Chaos or The Frozen Throne ( depending on the configuration ) as detached process .
void MainGUI::startWarcraft ()
{
    QString exePath;
        exePath = gproxy->getWar3Path() + "/Warcraft III.exe";
    if( !QProcess::startDetached(exePath, QStringList()) )
    {
        showErrorMessage("Could not start " + exePath + ".\nPlease check your file permissions.");
    }
}
void MainGUI :: startWarcraft ( ) { QString exePath ; exePath = gproxy -> getWar3Path ( ) + " " ; if ( ! QProcess :: startDetached ( exePath , QStringList ( ) ) ) { showErrorMessage ( " " + exePath + " \n " ) ; } }
Starts Warcraft 3 Reign of Chaos or The Frozen Throne (depending on the configuration) as detached process.
Starts Warcraft 3 Reign of Chaos or The Frozen Throne ( depending on the configuration ) as detached process .
//    if (!gproxy->getCDKeyTFT().isEmpty()) //    { //        exePath = gproxy->getWar3Path() + "Frozen Throne.exe"; //    } //    else //    { //    }