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

Method removeSearchDirectory

pcsx2-qt/Settings/GameListSettingsWidget.cpp:149–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void 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
163void GameListSettingsWidget::onDirectoryListContextMenuRequested(const QPoint& point)
164{

Callers

nothing calls this directly

Calls 2

refreshGameListMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected