mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-04-26 21:15:11 -06:00
lime_qt: Added warning message when attempting to use --multiplayer option
This commit is contained in:
parent
129387efbe
commit
2d525ec40a
@ -269,6 +269,16 @@ GMainWindow::GMainWindow(Core::System& system_)
|
||||
exit(0);
|
||||
}
|
||||
|
||||
if (args[i] == QStringLiteral("--multiplayer") || args[i] == QStringLiteral("-m")) {
|
||||
std::cout << "Warning: The --multiplayer option is not yet implemented for the Qt "
|
||||
"frontend; Ignoring."
|
||||
<< std::endl;
|
||||
if (i < args.size() - 1 && !args[i + 1].startsWith(QChar::fromLatin1('-'))) {
|
||||
i++;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
if (args[i] == QStringLiteral("--movie-play") || args[i] == QStringLiteral("-p")) {
|
||||
if (i >= args.size() - 1 || args[i + 1].startsWith(QChar::fromLatin1('-'))) {
|
||||
continue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user