Correctly concatenate path components

This commit is contained in:
Vladimir Golovnev (Glassez)
2022-01-03 19:38:14 +03:00
parent 7e8a176751
commit fdbf8cb0ee
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)