Removed an unused constructor parameter for GuiMetaDataEd.

This commit is contained in:
Leon Styhre 2022-01-14 23:42:52 +01:00
parent 3fd060dc4f
commit 6ca4d6b96e
3 changed files with 0 additions and 4 deletions

View file

@ -454,7 +454,6 @@ void GuiGamelistOptions::openMetaDataEd()
if (file->getType() == FOLDER) {
mWindow->pushGui(new GuiMetaDataEd(
mWindow, &file->metadata, file->metadata.getMDD(FOLDER_METADATA), p,
Utils::FileSystem::getFileName(file->getPath()),
std::bind(&IGameListView::onFileChanged,
ViewController::getInstance()->getGameListView(file->getSystem()).get(), file,
true),
@ -463,7 +462,6 @@ void GuiGamelistOptions::openMetaDataEd()
else {
mWindow->pushGui(new GuiMetaDataEd(
mWindow, &file->metadata, file->metadata.getMDD(GAME_METADATA), p,
Utils::FileSystem::getFileName(file->getPath()),
std::bind(&IGameListView::onFileChanged,
ViewController::getInstance()->getGameListView(file->getSystem()).get(), file,
true),

View file

@ -38,7 +38,6 @@ GuiMetaDataEd::GuiMetaDataEd(Window* window,
MetaDataList* md,
const std::vector<MetaDataDecl>& mdd,
ScraperSearchParams scraperParams,
const std::string& /*header*/,
std::function<void()> saveCallback,
std::function<void()> clearGameFunc,
std::function<void()> deleteGameFunc)

View file

@ -30,7 +30,6 @@ public:
MetaDataList* md,
const std::vector<MetaDataDecl>& mdd,
ScraperSearchParams params,
const std::string& header,
std::function<void()> savedCallback,
std::function<void()> clearGameFunc,
std::function<void()> deleteGameFunc);