Fix check of stream file being writeable

This commit is contained in:
craig.p.drummond
2013-05-23 17:00:28 +00:00
parent 7eaeb54ace
commit 00a910bd1a
2 changed files with 2 additions and 1 deletions

View File

@@ -38,6 +38,7 @@
10. Fix AudioCD playback.
11. Remove time remaining from action dialog - its not accurate enough to be
meaningful.
12. Fix detection of whether streams file is writable or not.
1.0.2.1
-------

View File

@@ -939,7 +939,7 @@ bool StreamsModel::checkWritable()
writable=!isHttp && QFileInfo(dirName).isWritable();
if (writable) {
QString fileName=getInternalFile(false);
if (QFile::exists(fileName) && !QFile(fileName).isWritable()) {
if (QFile::exists(fileName) && !QFileInfo(fileName).isWritable()) {
writable=false;
}
}