diff --git a/app/src/kernel/core.cpp b/app/src/kernel/core.cpp index 12bb78b..aa1c966 100644 --- a/app/src/kernel/core.cpp +++ b/app/src/kernel/core.cpp @@ -756,7 +756,7 @@ ErrorCode Core::logFinish(QString src, Qx::Error errorState) if(mCriticalErrorOccurred) logEvent(src, LOG_ERR_CRITICAL); - ErrorCode code = errorState.code(); + ErrorCode code = errorState.typeCode(); Qx::IoOpReport logReport = mLogger->finish(code); if(logReport.isFailure())