Merge pull request #6441 from spycrab/qt_exec
Qt/Main: Add option to launch file without -e
This commit is contained in:
commit
917f0e2182
|
@ -104,6 +104,10 @@ int main(int argc, char* argv[])
|
|||
QMessageBox::critical(nullptr, QObject::tr("Error"), QObject::tr("Invalid title ID."));
|
||||
}
|
||||
}
|
||||
else if (!args.empty())
|
||||
{
|
||||
boot = BootParameters::GenerateFromFile(args.front());
|
||||
}
|
||||
|
||||
int retval = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue