mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 15:50:00 -06:00
make this work under Linux
This commit is contained in:
@ -2612,10 +2612,12 @@ void MainWindow::onTest()
|
||||
{
|
||||
//QProcess::startDetached(QApplication::applicationFilePath());
|
||||
QProcess ass;
|
||||
#ifdef __WIN32__
|
||||
ass.setCreateProcessArgumentsModifier([] (QProcess::CreateProcessArguments *args)
|
||||
{
|
||||
args->flags |= CREATE_NEW_CONSOLE;
|
||||
});
|
||||
#endif
|
||||
ass.startDetached(QApplication::applicationFilePath());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user