From eb08de1a306ea4d879d1953768c0f9ca960cc16f Mon Sep 17 00:00:00 2001 From: William JCM Date: Fri, 2 Oct 2020 12:55:52 +0200 Subject: [PATCH] MainFrame: rename a symbol. --- GUI/EvtMainFrame.cpp | 4 ++-- GUI/EvtMainFrame.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GUI/EvtMainFrame.cpp b/GUI/EvtMainFrame.cpp index d870073..1b8ff98 100644 --- a/GUI/EvtMainFrame.cpp +++ b/GUI/EvtMainFrame.cpp @@ -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) { diff --git a/GUI/EvtMainFrame.h b/GUI/EvtMainFrame.h index f3c40e3..1f94686 100644 --- a/GUI/EvtMainFrame.h +++ b/GUI/EvtMainFrame.h @@ -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);