comparison data/fileio/BZipFileDevice.cpp @ 206:a75e678f5d37

* Fix failure to reload play mute state correctly from session file * Ensure Show and Play buttons in layer property box are initialised with the correct state
author Chris Cannam
date Fri, 05 Jan 2007 14:46:45 +0000
parents 11e107062a2b
children 8ee6cf529c4e
comparison
equal deleted inserted replaced
205:05154c7bb90b 206:a75e678f5d37
171 // std::cerr << "BZipFileDevice::readData: reached end of file" << std::endl; 171 // std::cerr << "BZipFileDevice::readData: reached end of file" << std::endl;
172 m_atEnd = true; 172 m_atEnd = true;
173 } 173 }
174 } 174 }
175 175
176 setErrorString("");
176 return read; 177 return read;
177 } 178 }
178 179
179 qint64 180 qint64
180 BZipFileDevice::writeData(const char *data, qint64 maxSize) 181 BZipFileDevice::writeData(const char *data, qint64 maxSize)
190 return -1; 191 return -1;
191 } 192 }
192 193
193 // std::cerr << "BZipFileDevice::writeData: wrote " << maxSize << std::endl; 194 // std::cerr << "BZipFileDevice::writeData: wrote " << maxSize << std::endl;
194 195
196 setErrorString("");
195 return maxSize; 197 return maxSize;
196 } 198 }
197 199