mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #450 Changed path for log files in accordance with our new directory structure.
This commit is contained in:
@@ -26,6 +26,7 @@ namespace BlackMisc
|
||||
m_applicationName(applicationName),
|
||||
m_logPath(logPath)
|
||||
{
|
||||
if (!m_logPath.isEmpty()) { QDir::root().mkpath(m_logPath); }
|
||||
removeOldLogFiles();
|
||||
if (!m_logPath.isEmpty() && !m_logPath.endsWith('/')) { m_logPath += '/'; }
|
||||
m_logFile.setFileName(getFullFileName());
|
||||
|
||||
Reference in New Issue
Block a user