diff options
Diffstat (limited to 'muse2/synti/vam')
-rw-r--r-- | muse2/synti/vam/vamgui.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/muse2/synti/vam/vamgui.cpp b/muse2/synti/vam/vamgui.cpp index ab7c3ddb..50b6552c 100644 --- a/muse2/synti/vam/vamgui.cpp +++ b/muse2/synti/vam/vamgui.cpp @@ -43,6 +43,7 @@ #include <QSlider> #include <QSocketNotifier> +#include "muse/globals.h" #include "muse/xml.h" #include "muse/midi.h" #include "muse/midictrl.h" @@ -559,7 +560,7 @@ void VAMGui::loadPresetsPressed() { #if 1 // TODO QString iname; - QString s(getenv("HOME")); + QString s(configPath); /* QString filename = QFileDialog::getOpenFileName(lastdir, QString("*.[Ss][Ff]2"), this, @@ -674,7 +675,7 @@ void VAMGui::doSavePresets(const QString& fn, bool showWarning) void VAMGui::savePresetsPressed() { #if 1 // TODO - QString s(getenv("MUSE")); + QString s(configPath); QString fn = QFileDialog::getSaveFileName(this, tr("MusE: Save VAM Presets"), s, "Presets (*.vam)"); if (fn.isEmpty()) @@ -692,7 +693,7 @@ void VAMGui::savePresetsToFilePressed() { if (!presetFileName ) { - QString s(getenv("MUSE")); + QString s(configPath); QString fn = QFileDialog::getSaveFileName(this, tr("MusE: Save VAM Presets"), s, "Presets (*.vam)"); presetFileName = new QString(fn); |