Browse Source

Save pitcheddelay user presets under ~/.config/lkjb on linux

tags/2018-04-16
falkTX 10 years ago
parent
commit
96e1561a43
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      ports/pitchedDelay/source/PluginEditor.cpp

+ 4
- 0
ports/pitchedDelay/source/PluginEditor.cpp View File

@@ -62,7 +62,11 @@ PitchedDelayAudioProcessorEditor::PitchedDelayAudioProcessorEditor (PitchedDelay
tooltipWindow = new TooltipWindow();
{
#if LINUX
File presetFile("~/.config/lkjb/PitchedDelay/presets.xml");
#else
File presetFile(File::getSpecialLocation(File::userApplicationDataDirectory).getChildFile("lkjb").getChildFile("PitchedDelay").getChildFile("presets.xml"));
#endif
if (! presetFile.existsAsFile())
{


Loading…
Cancel
Save