MainFrame: rename a symbol.
This commit is contained in:
parent
685bc59540
commit
eb08de1a30
2 changed files with 3 additions and 3 deletions
|
@ -387,7 +387,7 @@ void EvtMainFrame::fileUpdateEvent(wxFileSystemWatcherEvent& event) {
|
||||||
wxString event_path = event.GetPath().GetPath(wxPATH_GET_VOLUME, wxPATH_WIN);
|
wxString event_path = event.GetPath().GetPath(wxPATH_GET_VOLUME, wxPATH_WIN);
|
||||||
|
|
||||||
if(event_path == Utility::Directory::toNativeSeparators(_massManager->saveDirectory())) {
|
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())) {
|
else if(event_path == Utility::Directory::toNativeSeparators(_massManager->stagingAreaDirectory())) {
|
||||||
stagingFileEventHandler(event_type, event_file, event);
|
stagingFileEventHandler(event_type, event_file, event);
|
||||||
|
@ -405,7 +405,7 @@ void EvtMainFrame::gameCheckTimerEvent(wxTimerEvent&) {
|
||||||
isGameRunning();
|
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;
|
wxRegEx regex;
|
||||||
|
|
||||||
switch (event_type) {
|
switch (event_type) {
|
||||||
|
|
|
@ -76,7 +76,7 @@ class EvtMainFrame: public MainFrame {
|
||||||
void gameCheckTimerEvent(wxTimerEvent&);
|
void gameCheckTimerEvent(wxTimerEvent&);
|
||||||
|
|
||||||
private:
|
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 stagingFileEventHandler(int event_type, const wxString& event_file, const wxFileSystemWatcherEvent& event);
|
||||||
void screenshotFileEventHandler(int event_type, const wxString& event_file);
|
void screenshotFileEventHandler(int event_type, const wxString& event_file);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue