diff --git a/src/gui/GameInfoDialog.cxx b/src/gui/GameInfoDialog.cxx index 11cf128ef..6b3d353f7 100644 --- a/src/gui/GameInfoDialog.cxx +++ b/src/gui/GameInfoDialog.cxx @@ -719,4 +719,4 @@ void GameInfoDialog::handleCommand(CommandSender* sender, int cmd, Dialog::handleCommand(sender, cmd, data, 0); break; } -} \ No newline at end of file +} diff --git a/src/gui/LauncherDialog.cxx b/src/gui/LauncherDialog.cxx index d1b32899c..bb2473d1e 100644 --- a/src/gui/LauncherDialog.cxx +++ b/src/gui/LauncherDialog.cxx @@ -264,7 +264,7 @@ void LauncherDialog::loadConfig() if(item < 0) return; const FilesystemNode node(myGameList->path(item)); - myRomInfoWidget->loadConfig(node); + myRomInfoWidget->reloadProperties(node); } } diff --git a/src/gui/LauncherDialog.hxx b/src/gui/LauncherDialog.hxx index 704bbbafa..efa2e51e2 100644 --- a/src/gui/LauncherDialog.hxx +++ b/src/gui/LauncherDialog.hxx @@ -62,7 +62,7 @@ class LauncherDialog : public Dialog @return path if a valid ROM file, else the empty string */ - const string& LauncherDialog::selectedRom(); + const string& selectedRom(); /** Get MD5sum for the currently selected file diff --git a/src/gui/RomInfoWidget.cxx b/src/gui/RomInfoWidget.cxx index 40577e135..14528c4f8 100644 --- a/src/gui/RomInfoWidget.cxx +++ b/src/gui/RomInfoWidget.cxx @@ -44,7 +44,7 @@ RomInfoWidget::RomInfoWidget(GuiObject* boss, const GUI::Font& font, } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -void RomInfoWidget::loadConfig(const FilesystemNode& node) +void RomInfoWidget::reloadProperties(const FilesystemNode& node) { // The ROM may have changed since we were last in the browser, either // by saving a different image or through a change in video renderer, diff --git a/src/gui/RomInfoWidget.hxx b/src/gui/RomInfoWidget.hxx index 2d4b2dc6a..5a0a87674 100644 --- a/src/gui/RomInfoWidget.hxx +++ b/src/gui/RomInfoWidget.hxx @@ -36,7 +36,7 @@ class RomInfoWidget : public Widget void setProperties(const Properties& props, const FilesystemNode& node); void clearProperties(); - void loadConfig(const FilesystemNode& node); + void reloadProperties(const FilesystemNode& node); protected: void drawWidget(bool hilite) override;