| 147 | } |
| 148 | |
| 149 | void GameListSettingsWidget::removeSearchDirectory(const QString& path) |
| 150 | { |
| 151 | const std::string spath(path.toStdString()); |
| 152 | if (!Host::RemoveBaseValueFromStringList("GameList", "Paths", spath.c_str()) && |
| 153 | !Host::RemoveBaseValueFromStringList("GameList", "RecursivePaths", spath.c_str())) |
| 154 | { |
| 155 | return; |
| 156 | } |
| 157 | |
| 158 | Host::CommitBaseSettingChanges(); |
| 159 | refreshDirectoryList(); |
| 160 | g_main_window->refreshGameList(false, true); |
| 161 | } |
| 162 | |
| 163 | void GameListSettingsWidget::onDirectoryListContextMenuRequested(const QPoint& point) |
| 164 | { |
nothing calls this directly
no test coverage detected