User preset management
| 545 | |
| 546 | // User preset management |
| 547 | void MainWindow::loadExternalFile() |
| 548 | { |
| 549 | QString filename = QFileDialog::getOpenFileName(this, tr("Load custom audio.conf"), "", "JamesDSP Linux configuration (*.conf)"); |
| 550 | |
| 551 | if (filename == "") |
| 552 | { |
| 553 | return; |
| 554 | } |
| 555 | |
| 556 | PresetManager::instance().loadFromPath(filename); |
| 557 | } |
| 558 | |
| 559 | void MainWindow::saveExternalFile() |
| 560 | { |
nothing calls this directly
no test coverage detected