Fix check of stream file being writeable
This commit is contained in:
@@ -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
|
||||
-------
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user