mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Remove unnecessary Windows-specific code
This commit is contained in:
parent
c6d3dfb74f
commit
6adab369da
@ -173,17 +173,12 @@ void CMainDialog::launch()
|
|||||||
QMessageBox::Close
|
QMessageBox::Close
|
||||||
);
|
);
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
if (!QProcess::startDetached("./isle.exe")) {
|
|
||||||
msgBox.exec();
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
if (!QProcess::startDetached("./isle")) { // Check in isle-config directory
|
if (!QProcess::startDetached("./isle")) { // Check in isle-config directory
|
||||||
if (!QProcess::startDetached("isle")) { // Check in $PATH
|
if (!QProcess::startDetached("isle")) { // Check in $PATH
|
||||||
msgBox.exec();
|
msgBox.exec();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
QDialog::accept();
|
QDialog::accept();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user