Mercurial > hg > svcore
changeset 1693:718ce5fb9fec single-point
Merge
author | Chris Cannam |
---|---|
date | Thu, 25 Apr 2019 11:30:51 +0100 |
parents | 73077ec5aed6 (current diff) d08b560102a1 (diff) |
children | a9d0b5a2c242 |
files | |
diffstat | 2 files changed, 20 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/data/fileio/FileFinder.h Thu Apr 25 11:30:38 2019 +0100 +++ b/data/fileio/FileFinder.h Thu Apr 25 11:30:51 2019 +0100 @@ -35,11 +35,21 @@ LayerFileNoMidiNonSV, }; - virtual QString getOpenFileName(FileType type, QString fallbackLocation = "") = 0; - virtual QString getSaveFileName(FileType type, QString fallbackLocation = "") = 0; - virtual void registerLastOpenedFilePath(FileType type, QString path) = 0; + virtual QString getOpenFileName(FileType type, + QString fallbackLocation = "") = 0; - virtual QString find(FileType type, QString location, QString lastKnownLocation = "") = 0; + virtual QStringList getOpenFileNames(FileType type, + QString fallbackLocation = "") = 0; + + virtual QString getSaveFileName(FileType type, + QString fallbackLocation = "") = 0; + + virtual void registerLastOpenedFilePath(FileType type, + QString path) = 0; + + virtual QString find(FileType type, + QString location, + QString lastKnownLocation = "") = 0; static FileFinder *getInstance() { FFContainer *container = FFContainer::getInstance();
--- a/data/model/AlignmentModel.cpp Thu Apr 25 11:30:38 2019 +0100 +++ b/data/model/AlignmentModel.cpp Thu Apr 25 11:30:51 2019 +0100 @@ -52,7 +52,9 @@ AlignmentModel::~AlignmentModel() { - SVDEBUG << "AlignmentModel(" << this << ")::~AlignmentModel()" << endl; +#ifdef DEBUG_ALIGNMENT_MODEL + SVCERR << "AlignmentModel(" << this << ")::~AlignmentModel()" << endl; +#endif if (m_rawPath) m_rawPath->aboutToDelete(); delete m_rawPath; @@ -209,7 +211,9 @@ constructPath(); constructReversePath(); - SVDEBUG << "AlignmentModel: path complete" << endl; +#ifdef DEBUG_ALIGNMENT_MODEL + SVCERR << "AlignmentModel: path complete" << endl; +#endif } }