MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / onCreateGameShortcutTriggered

Method onCreateGameShortcutTriggered

pcsx2-qt/MainWindow.cpp:2153–2164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2151
2152#if !defined(__APPLE__)
2153void MainWindow::onCreateGameShortcutTriggered()
2154{
2155 const std::optional<GameList::Entry> entry = m_game_list_widget->getSelectedEntry();
2156 if (!entry.has_value())
2157 return;
2158
2159 const QString title = QString::fromStdString(entry->GetTitle());
2160 const QString path = QString::fromStdString(entry->path);
2161
2162 ShortcutCreationDialog dlg(this, title, path);
2163 dlg.exec();
2164}
2165#endif
2166void MainWindow::onToolsEditCheatsPatchesTriggered(bool cheats)
2167{

Callers

nothing calls this directly

Calls 2

getSelectedEntryMethod · 0.80
GetTitleMethod · 0.80

Tested by

no test coverage detected