Correctly concatenate path components

This commit is contained in:
Vladimir Golovnev (Glassez) 2022-01-03 19:38:14 +03:00
parent 7e8a176751
commit fdbf8cb0ee
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7
8 changed files with 14 additions and 14 deletions

View file

@ -220,7 +220,7 @@ void Application::setFileLoggerEnabled(const bool value)
QString Application::fileLoggerPath() const
{
return m_storeFileLoggerPath.get(specialFolderLocation(SpecialFolder::Data) + LOG_FOLDER);
return m_storeFileLoggerPath.get(QDir(specialFolderLocation(SpecialFolder::Data)).absoluteFilePath(LOG_FOLDER));
}
void Application::setFileLoggerPath(const QString &path)