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

Method saveExternalFile

src/MainWindow.cpp:559–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559void MainWindow::saveExternalFile()
560{
561 QString filename = QFileDialog::getSaveFileName(this, tr("Save current audio.conf"), "", "JamesDSP Linux configuration (*.conf)");
562
563 if (filename == "")
564 {
565 return;
566 }
567
568 if (QFileInfo(filename).suffix() != "conf")
569 {
570 filename.append(".conf");
571 }
572
573 applyConfig();
574 PresetManager::instance().saveToPath(filename);
575}
576
577// Load/save
578void MainWindow::loadConfig()

Callers

nothing calls this directly

Calls 2

appendMethod · 0.80
saveToPathMethod · 0.80

Tested by

no test coverage detected