Fix typo in filelogger.cpp message

This commit is contained in:
Andrei Stepanov
2018-02-27 02:00:43 +04:00
committed by GitHub
parent 050af8a793
commit 817aadd52d

View File

@@ -165,7 +165,7 @@ void FileLogger::openLogFile()
|| !m_logFile->setPermissions(QFile::ReadOwner | QFile::WriteOwner)) {
delete m_logFile;
m_logFile = nullptr;
Logger::instance()->addMessage(tr("An error occured while trying to open the log file. Logging to file is disabled."), Log::CRITICAL);
Logger::instance()->addMessage(tr("An error occurred while trying to open the log file. Logging to file is disabled."), Log::CRITICAL);
}
}