summaryrefslogtreecommitdiff
path: root/ui/guiStatusHandler.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:02:17 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:02:17 +0200
commitb9203ee84953006547f4afd58f405874c87bf0dc (patch)
tree9e41f1533f120e9268e86658c52458630ffd718a /ui/guiStatusHandler.cpp
parent3.0 (diff)
downloadFreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.tar.gz
FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.tar.bz2
FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.zip
3.1
Diffstat (limited to 'ui/guiStatusHandler.cpp')
-rw-r--r--ui/guiStatusHandler.cpp5
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();
}
bgstack15