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

View file

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

View file

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