citra_qt: Fixed desktop shortcuts incorrectly including -g

This argument has a new meaning since the frontend merge, and is no longer needed in this instance
This commit is contained in:
OpenSauce04 2024-11-09 22:02:57 +00:00
parent 08605cc5df
commit 3e02c29225

View File

@ -2061,7 +2061,7 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
} }
#endif // __linux__ #endif // __linux__
// Create shortcut // Create shortcut
std::string arguments = fmt::format("-g \"{:s}\"", game_path); std::string arguments = fmt::format("\"{:s}\"", game_path);
if (CreateShortcutMessagesGUI(this, CREATE_SHORTCUT_MSGBOX_FULLSCREEN_PROMPT, qt_game_title)) { if (CreateShortcutMessagesGUI(this, CREATE_SHORTCUT_MSGBOX_FULLSCREEN_PROMPT, qt_game_title)) {
arguments = "-f " + arguments; arguments = "-f " + arguments;
} }