mirror of https://github.com/stella-emu/stella.git
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:
parent
3c6b8339e1
commit
90e6cfa26b
|
@ -719,4 +719,4 @@ void GameInfoDialog::handleCommand(CommandSender* sender, int cmd,
|
|||
Dialog::handleCommand(sender, cmd, data, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -264,7 +264,7 @@ void LauncherDialog::loadConfig()
|
|||
if(item < 0) return;
|
||||
const FilesystemNode node(myGameList->path(item));
|
||||
|
||||
myRomInfoWidget->loadConfig(node);
|
||||
myRomInfoWidget->reloadProperties(node);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue