Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 2454:d2c37d83f78d
Default to CSV now
author | Chris Cannam |
---|---|
date | Wed, 15 Jan 2020 14:02:37 +0000 |
parents | 729b96803ab1 |
children | 9b5b4e02f691 |
comparison
equal
deleted
inserted
replaced
2453:38f259c3be10 | 2454:d2c37d83f78d |
---|---|
3020 QString path = getSaveFileName(type); | 3020 QString path = getSaveFileName(type); |
3021 | 3021 |
3022 if (path == "") return; | 3022 if (path == "") return; |
3023 | 3023 |
3024 QString suffix = QFileInfo(path).suffix().toLower(); | 3024 QString suffix = QFileInfo(path).suffix().toLower(); |
3025 if (suffix == "") suffix = "svl"; // this is what exportLayerTo defaults to | 3025 if (suffix == "") suffix = "csv"; |
3026 | 3026 |
3027 bool canWriteSelection = | 3027 bool canWriteSelection = |
3028 ! (suffix == "xml" || suffix == "svl" || | 3028 ! (suffix == "xml" || suffix == "svl" || |
3029 suffix == "n3" || suffix == "ttl"); | 3029 suffix == "n3" || suffix == "ttl"); |
3030 | 3030 |