mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 13:58:51 +03:00
Fix typo in filelogger.cpp message
This commit is contained in:
parent
050af8a793
commit
817aadd52d
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ void FileLogger::openLogFile()
|
||||||
|| !m_logFile->setPermissions(QFile::ReadOwner | QFile::WriteOwner)) {
|
|| !m_logFile->setPermissions(QFile::ReadOwner | QFile::WriteOwner)) {
|
||||||
delete m_logFile;
|
delete m_logFile;
|
||||||
m_logFile = nullptr;
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue