Mercurial > hg > svcore
comparison data/fileio/BZipFileDevice.cpp @ 203:11e107062a2b
* Fix apparent (but not actual) failure to save session file
* Fix doofusness in FFT model (N/2 vs N/2+1) -- need to review use of
this model in spectrogram
author | Chris Cannam |
---|---|
date | Fri, 08 Dec 2006 18:17:29 +0000 |
parents | 1a42221a1522 |
children | a75e678f5d37 |
comparison
equal
deleted
inserted
replaced
202:91fdc752e540 | 203:11e107062a2b |
---|---|
34 } | 34 } |
35 | 35 |
36 bool | 36 bool |
37 BZipFileDevice::open(OpenMode mode) | 37 BZipFileDevice::open(OpenMode mode) |
38 { | 38 { |
39 setErrorString(""); | |
40 | |
39 if (m_bzFile) { | 41 if (m_bzFile) { |
40 setErrorString(tr("File is already open")); | 42 setErrorString(tr("File is already open")); |
41 return false; | 43 return false; |
42 } | 44 } |
43 | 45 |