| 2151 | |
| 2152 | #if !defined(__APPLE__) |
| 2153 | void 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 |
| 2166 | void MainWindow::onToolsEditCheatsPatchesTriggered(bool cheats) |
| 2167 | { |
nothing calls this directly
no test coverage detected