MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / loadExternalFile

Method loadExternalFile

src/MainWindow.cpp:547–557  ·  view source on GitHub ↗

User preset management

Source from the content-addressed store, hash-verified

545
546// User preset management
547void 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
559void MainWindow::saveExternalFile()
560{

Callers

nothing calls this directly

Calls 1

loadFromPathMethod · 0.80

Tested by

no test coverage detected