Correctly concatenate path components

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

@ -108,7 +108,7 @@ AutoDownloader::AutoDownloader()
m_instance = this;
m_fileStorage = new AsyncFileStorage(
Utils::Fs::expandPathAbs(specialFolderLocation(SpecialFolder::Config) + ConfFolderName));
Utils::Fs::expandPathAbs(specialFolderLocation(SpecialFolder::Config) + QLatin1Char('/') + ConfFolderName));
if (!m_fileStorage)
throw RuntimeError(tr("Directory for RSS AutoDownloader data is unavailable."));