diff --git a/src/core-impl/podcasts/sql/SqlPodcastProvider.cpp b/src/core-impl/podcasts/sql/SqlPodcastProvider.cpp --- a/src/core-impl/podcasts/sql/SqlPodcastProvider.cpp +++ b/src/core-impl/podcasts/sql/SqlPodcastProvider.cpp @@ -1258,8 +1258,9 @@ return false; } - QString fileName = sqlChannel->saveLocation().adjusted(QUrl::StripTrailingSlash).toLocalFile(); - fileName += download.fileName; + QString fileName = sqlChannel->saveLocation().adjusted(QUrl::StripTrailingSlash).toLocalFile() + + QLatin1Char('/') + + download.fileName; debug() << "checking " << fileName; QFileInfo fileInfo( fileName ); if( !fileInfo.exists() ) @@ -1386,6 +1387,7 @@ } QString finalName = sqlChannel->saveLocation().adjusted(QUrl::StripTrailingSlash).toLocalFile() + + QLatin1Char('/') + download.fileName; if( tmpFile->rename( finalName ) ) {