Skip to content

Commit

Permalink
Fix #273963: Use slash rather than 'QDir::separator()' for pathnames
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Jul 10, 2018
1 parent 5f9fde4 commit cf9fc61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mscore/resourceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ void ResourceManager::downloadExtension()
QString baseAddress = baseAddr() + data;
DownloadUtils dl(this);
dl.setTarget(baseAddress);
QString localPath = QDir::tempPath() + QDir::separator() + data.split('/')[1];
QString localPath = QDir::tempPath() + "/" + data.split('/')[1];
QFile::remove(localPath);
dl.setLocalFile(localPath);
dl.download(true);
Expand Down

0 comments on commit cf9fc61

Please sign in to comment.