MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / remove

Method remove

src/data/PresetManager.cpp:61–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61bool PresetManager::remove(const QString &name)
62{
63 auto path = AppConfig::instance().getPath("presets/") + name + ".conf";
64 if (QFile::exists(path))
65 {
66 QFile::remove(path);
67 this->_presetModel->rescan();
68 return true;
69 }
70 return false;
71}
72
73void PresetManager::save(const QString &name)
74{

Callers 13

clearMethod · 0.45
backupLastLogMethod · 0.45
deletePresetMethod · 0.45
chopDoubleQuotesFunction · 0.45
deletePresetMethod · 0.45
onRemoveRequestedMethod · 0.45
onRemoveClickedMethod · 0.45
extractGroupMethod · 0.45
replaceVariableMethod · 0.45
removeRowsMethod · 0.45
runMethod · 0.45

Calls 2

rescanMethod · 0.80
getPathMethod · 0.45

Tested by

no test coverage detected