lime_qt: Fixed desktop shortcuts incorrectly including -g
Some checks failed
lime-build / source (push) Has been cancelled
lime-build / linux (appimage) (push) Has been cancelled
lime-build / linux (fresh) (push) Has been cancelled
lime-build / macos (arm64) (push) Has been cancelled
lime-build / macos (x86_64) (push) Has been cancelled
lime-build / windows (msvc) (push) Has been cancelled
lime-build / windows (msys2) (push) Has been cancelled
lime-build / android (push) Has been cancelled
lime-format / clang-format (push) Has been cancelled
lime-transifex / transifex (push) Has been cancelled
lime-build / macos-universal (push) Has been cancelled
lime-build / release (push) Has been cancelled

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 committed by OpenSauce
parent 7d2911ab4e
commit 1f7247c861

View file

@ -2121,7 +2121,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;
} }