Merge pull request #4976 from ligfx/fixwxcommandlineassertion

DolphinWX: provide empty OnCmdLineParsed
This commit is contained in:
Scott Mansell 2017-02-27 15:10:01 +13:00 committed by GitHub
commit d1b343ab5a
2 changed files with 6 additions and 0 deletions

View File

@ -84,6 +84,11 @@ void DolphinApp::OnInitCmdLine(wxCmdLineParser& parser)
parser.SetCmdLine("");
}
bool DolphinApp::OnCmdLineParsed(wxCmdLineParser& parser)
{
return true;
}
bool DolphinApp::OnInit()
{
std::lock_guard<std::mutex> lk(s_init_mutex);

View File

@ -23,6 +23,7 @@ public:
private:
bool OnInit() override;
void OnInitCmdLine(wxCmdLineParser& parser) override;
bool OnCmdLineParsed(wxCmdLineParser& parser) override;
int OnExit() override;
void OnFatalException() override;
bool Initialize(int& c, wxChar** v) override;