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
|
||||
);
|
||||
|
||||
#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 $PATH
|
||||
msgBox.exec();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
QDialog::accept();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user