Fixed minor compile warnings in clang

- method with same name but different parameter mirroring one in base class
- missing newline, etc.
This commit is contained in:
Stephen Anthony 2019-02-16 12:10:52 -03:30
parent 3c6b8339e1
commit 90e6cfa26b
5 changed files with 5 additions and 5 deletions

View File

@ -719,4 +719,4 @@ void GameInfoDialog::handleCommand(CommandSender* sender, int cmd,
Dialog::handleCommand(sender, cmd, data, 0); Dialog::handleCommand(sender, cmd, data, 0);
break; break;
} }
} }

View File

@ -264,7 +264,7 @@ void LauncherDialog::loadConfig()
if(item < 0) return; if(item < 0) return;
const FilesystemNode node(myGameList->path(item)); const FilesystemNode node(myGameList->path(item));
myRomInfoWidget->loadConfig(node); myRomInfoWidget->reloadProperties(node);
} }
} }

View File

@ -62,7 +62,7 @@ class LauncherDialog : public Dialog
@return path if a valid ROM file, else the empty string @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 Get MD5sum for the currently selected file

View File

@ -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 // 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, // by saving a different image or through a change in video renderer,

View File

@ -36,7 +36,7 @@ class RomInfoWidget : public Widget
void setProperties(const Properties& props, const FilesystemNode& node); void setProperties(const Properties& props, const FilesystemNode& node);
void clearProperties(); void clearProperties();
void loadConfig(const FilesystemNode& node); void reloadProperties(const FilesystemNode& node);
protected: protected:
void drawWidget(bool hilite) override; void drawWidget(bool hilite) override;