MainFrame: rename a symbol.

This commit is contained in:
Guillaume Jacquemin 2020-10-02 12:55:52 +02:00
parent 685bc59540
commit eb08de1a30
2 changed files with 3 additions and 3 deletions

View File

@ -387,7 +387,7 @@ void EvtMainFrame::fileUpdateEvent(wxFileSystemWatcherEvent& event) {
wxString event_path = event.GetPath().GetPath(wxPATH_GET_VOLUME, wxPATH_WIN);
if(event_path == Utility::Directory::toNativeSeparators(_massManager->saveDirectory())) {
unitFileEventHandler(event_type, event_file, event);
saveFileEventHandler(event_type, event_file, event);
}
else if(event_path == Utility::Directory::toNativeSeparators(_massManager->stagingAreaDirectory())) {
stagingFileEventHandler(event_type, event_file, event);
@ -405,7 +405,7 @@ void EvtMainFrame::gameCheckTimerEvent(wxTimerEvent&) {
isGameRunning();
}
void EvtMainFrame::unitFileEventHandler(int event_type, const wxString& event_file, const wxFileSystemWatcherEvent& event) {
void EvtMainFrame::saveFileEventHandler(int event_type, const wxString& event_file, const wxFileSystemWatcherEvent& event) {
wxRegEx regex;
switch (event_type) {

View File

@ -76,7 +76,7 @@ class EvtMainFrame: public MainFrame {
void gameCheckTimerEvent(wxTimerEvent&);
private:
void unitFileEventHandler(int event_type, const wxString& event_file, const wxFileSystemWatcherEvent& event);
void saveFileEventHandler(int event_type, const wxString& event_file, const wxFileSystemWatcherEvent& event);
void stagingFileEventHandler(int event_type, const wxString& event_file, const wxFileSystemWatcherEvent& event);
void screenshotFileEventHandler(int event_type, const wxString& event_file);