Qt/Main: Add option to launch file without -e

This commit is contained in:
spycrab 2018-03-16 09:14:24 +01:00
parent d3dd85dbd7
commit 0911b44f60

View file

@ -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;