comparison transform/FileFeatureWriter.cpp @ 506:823e8a4feff5

* colon not permitted in filename on windows
author Chris Cannam
date Fri, 05 Dec 2008 11:31:51 +0000
parents fdf5930b7ccc
children 0944d13689b2
comparison
equal deleted inserted replaced
505:db398832518b 506:823e8a4feff5
180 else dirname = QDir::currentPath(); 180 else dirname = QDir::currentPath();
181 181
182 QString filename; 182 QString filename;
183 183
184 if (m_manyFiles && transformId != "") { 184 if (m_manyFiles && transformId != "") {
185 filename = QString("%1:%2.%3").arg(basename).arg(transformId).arg(m_extension); 185 filename = QString("%1-%2.%3").arg(basename).arg(transformId).arg(m_extension);
186 } else { 186 } else {
187 filename = QString("%1.%2").arg(basename).arg(m_extension); 187 filename = QString("%1.%2").arg(basename).arg(m_extension);
188 } 188 }
189 189
190 filename = QDir(dirname).filePath(filename); 190 filename = QDir(dirname).filePath(filename);