mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-12 10:37:02 +00:00
UI: remove unused argument
This commit is contained in:
parent
6b3e871de4
commit
e042e61eea
3 changed files with 6 additions and 6 deletions
|
|
@ -867,7 +867,7 @@ void MainWindow::OpenSettings()
|
||||||
const bool mlc_modified = frame.MLCModified();
|
const bool mlc_modified = frame.MLCModified();
|
||||||
|
|
||||||
if (paths_modified)
|
if (paths_modified)
|
||||||
m_game_list->ReloadGameEntries(false);
|
m_game_list->ReloadGameEntries();
|
||||||
else
|
else
|
||||||
SaveSettings();
|
SaveSettings();
|
||||||
|
|
||||||
|
|
@ -1012,7 +1012,7 @@ void MainWindow::OnConsoleLanguage(wxCommandEvent& event)
|
||||||
if (m_game_list)
|
if (m_game_list)
|
||||||
{
|
{
|
||||||
m_game_list->DeleteCachedStrings();
|
m_game_list->DeleteCachedStrings();
|
||||||
m_game_list->ReloadGameEntries(false);
|
m_game_list->ReloadGameEntries();
|
||||||
}
|
}
|
||||||
GetConfigHandle().Save();
|
GetConfigHandle().Save();
|
||||||
}
|
}
|
||||||
|
|
@ -1450,7 +1450,7 @@ void MainWindow::OnAccountListRefresh(wxCommandEvent& event)
|
||||||
|
|
||||||
void MainWindow::OnRequestGameListRefresh(wxCommandEvent& event)
|
void MainWindow::OnRequestGameListRefresh(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
m_game_list->ReloadGameEntries(false);
|
m_game_list->ReloadGameEntries();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::OnSetWindowTitle(wxCommandEvent& event)
|
void MainWindow::OnSetWindowTitle(wxCommandEvent& event)
|
||||||
|
|
|
||||||
|
|
@ -350,7 +350,7 @@ bool wxGameList::IsVisible(long item) const
|
||||||
return visible;
|
return visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxGameList::ReloadGameEntries(bool cached)
|
void wxGameList::ReloadGameEntries()
|
||||||
{
|
{
|
||||||
wxWindowUpdateLocker windowlock(this);
|
wxWindowUpdateLocker windowlock(this);
|
||||||
DeleteAllItems();
|
DeleteAllItems();
|
||||||
|
|
@ -854,7 +854,7 @@ void wxGameList::OnContextMenuSelected(wxCommandEvent& event)
|
||||||
switch (event.GetId())
|
switch (event.GetId())
|
||||||
{
|
{
|
||||||
case kContextMenuRefreshGames:
|
case kContextMenuRefreshGames:
|
||||||
ReloadGameEntries(false);
|
ReloadGameEntries();
|
||||||
break;
|
break;
|
||||||
case kContextMenuStyleList:
|
case kContextMenuStyleList:
|
||||||
SetStyle(Style::kList);
|
SetStyle(Style::kList);
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ public:
|
||||||
void SaveConfig(bool flush = false);
|
void SaveConfig(bool flush = false);
|
||||||
bool IsVisible(long item) const; // only available in wxwidgets 3.1.3
|
bool IsVisible(long item) const; // only available in wxwidgets 3.1.3
|
||||||
|
|
||||||
void ReloadGameEntries(bool cached = false);
|
void ReloadGameEntries();
|
||||||
void DeleteCachedStrings();
|
void DeleteCachedStrings();
|
||||||
|
|
||||||
void CreateShortcut(GameInfo2& gameInfo);
|
void CreateShortcut(GameInfo2& gameInfo);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue