mirror of https://github.com/PCSX2/pcsx2.git
GUI-Wx: Fix variable initializations.
Codacy Warning: Variable 'variable' is assigned in constructor body. Consider performing initialization in initialization list.
This commit is contained in:
parent
5c951afa64
commit
7c6a838d7f
|
@ -558,8 +558,9 @@ AppConfig::AppConfig()
|
|||
, AppSettingsTabName(L"none")
|
||||
, GameDatabaseTabName(L"none")
|
||||
, LanguageId(wxLANGUAGE_DEFAULT)
|
||||
, LanguageCode(L"default")
|
||||
, CdvdSource(CDVD_SourceType::Iso)
|
||||
{
|
||||
LanguageCode = L"default";
|
||||
RecentIsoCount = 20;
|
||||
Listbook_ImageSize = 32;
|
||||
Toolbar_ImageSize = 24;
|
||||
|
@ -573,8 +574,6 @@ AppConfig::AppConfig()
|
|||
|
||||
EnablePresets = true;
|
||||
PresetIndex = 1;
|
||||
|
||||
CdvdSource = CDVD_SourceType::Iso;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
#include "gui/Resources/AppIcon64.h"
|
||||
|
||||
RecentIsoList::RecentIsoList(int firstIdForMenuItems_or_wxID_ANY)
|
||||
: Menu(std::unique_ptr<wxMenu>(new wxMenu()))
|
||||
{
|
||||
Menu = std::unique_ptr<wxMenu>(new wxMenu());
|
||||
Menu->Append(MenuId_IsoBrowse, _("Browse..."), _("Browse for an ISO that is not in your recent history."));
|
||||
Menu->AppendSeparator();
|
||||
Menu->AppendCheckItem(MenuId_Ask_On_Booting, _("Always ask when booting"), _("Manually select an ISO upon boot ignoring the selection from recent ISO list."));
|
||||
|
|
Loading…
Reference in New Issue