diff options
Diffstat (limited to 'ui/guiStatusHandler.cpp')
-rw-r--r-- | ui/guiStatusHandler.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/guiStatusHandler.cpp b/ui/guiStatusHandler.cpp index c4c98a85..3cf6eb01 100644 --- a/ui/guiStatusHandler.cpp +++ b/ui/guiStatusHandler.cpp @@ -109,8 +109,7 @@ ErrorHandler::Response CompareStatusHandler::reportError(const wxString& message ErrorDlg* errorDlg = new ErrorDlg(mainDialog, ErrorDlg::BUTTON_IGNORE | ErrorDlg::BUTTON_RETRY | ErrorDlg::BUTTON_ABORT, errorMessage, ignoreNextErrors); - int rv = errorDlg->ShowModal(); - switch (rv) + switch (static_cast<ErrorDlg::ReturnCodes>(errorDlg->ShowModal())) { case ErrorDlg::BUTTON_IGNORE: ignoreErrors = ignoreNextErrors; @@ -308,7 +307,7 @@ ErrorHandler::Response SyncStatusHandler::reportError(const wxString& errorMessa void SyncStatusHandler::reportFatalError(const wxString& errorMessage) { - errorLog.logError(errorMessage); + errorLog.logFatalError(errorMessage); abortThisProcess(); } |