mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
Global: Cleanup virtual/override specifiers.
Also missing virtual destructors, hidden non-overrides, etc.
This commit is contained in:
1 parent
31efd9565e
commit
f44852bb18
83 files changed
+283
-315
No files matched your search
+2
-7
@@ -434,7 +434,7 @@ public:
|
||||
DirButton(const Path &path, const std::string &text, bool gridStyle, UI::LayoutParams *layoutParams = 0)
|
||||
: UI::Button(text, layoutParams), path_(path), gridStyle_(gridStyle), absolute_(true) {}
|
||||
|
||||
virtual void Draw(UIContext &dc);
|
||||
void Draw(UIContext &dc) override;
|
||||
|
||||
const Path &GetPath() const {
|
||||
return path_;
|
||||
@@ -1490,7 +1490,7 @@ void UmdReplaceScreen::CreateViews() {
|
||||
|
||||
tabAllGames->OnHoldChoice.Handle(this, &UmdReplaceScreen::OnGameSelected);
|
||||
|
||||
rightColumnItems->Add(new Choice(di->T("Cancel")))->OnClick.Handle(this, &UmdReplaceScreen::OnCancel);
|
||||
rightColumnItems->Add(new Choice(di->T("Cancel")))->OnClick.Handle<UIScreen>(this, &UIScreen::OnCancel);
|
||||
rightColumnItems->Add(new Choice(mm->T("Game Settings")))->OnClick.Handle(this, &UmdReplaceScreen::OnGameSettings);
|
||||
|
||||
if (g_Config.HasRecentIsos()) {
|
||||
@@ -1515,11 +1515,6 @@ UI::EventReturn UmdReplaceScreen::OnGameSelected(UI::EventParams &e) {
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
UI::EventReturn UmdReplaceScreen::OnCancel(UI::EventParams &e) {
|
||||
TriggerFinish(DR_CANCEL);
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
UI::EventReturn UmdReplaceScreen::OnGameSettings(UI::EventParams &e) {
|
||||
screenManager()->push(new GameSettingsScreen(Path()));
|
||||
return UI::EVENT_DONE;
|
||||
|
||||
Reference in new issue
Block a user