From b46d45bfe0d1b55eb3cc90273cfb1f900a5b66e1 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 7 Sep 2017 16:18:30 +0200 Subject: [PATCH] don't save conf-files to flash; use /media by default Signed-off-by: Thilo Graf Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/6649ac6438f3d75f205349962edffd810158f665 Author: vanhofen Date: 2017-09-07 (Thu, 07 Sep 2017) Origin message was: ------------------ - don't save conf-files to flash; use /media by default Signed-off-by: Thilo Graf --- src/gui/keybind_setup.cpp | 2 +- src/gui/settings_manager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/keybind_setup.cpp b/src/gui/keybind_setup.cpp index 0a122ac1b..d238cf05d 100644 --- a/src/gui/keybind_setup.cpp +++ b/src/gui/keybind_setup.cpp @@ -106,7 +106,7 @@ int CKeybindSetup::exec(CMenuTarget* parent, const std::string &actionKey) else if(actionKey == "savekeys") { CFileBrowser fileBrowser; fileBrowser.Dir_Mode = true; - if (fileBrowser.exec("/var/tuxbox") == true) { + if (fileBrowser.exec("/media") == true) { std::string fname = "keys.conf"; CKeyboardInput * sms = new CKeyboardInput(LOCALE_EXTRA_SAVEKEYS, &fname); sms->exec(NULL, ""); diff --git a/src/gui/settings_manager.cpp b/src/gui/settings_manager.cpp index dc3b81b13..ddd0d2c3d 100644 --- a/src/gui/settings_manager.cpp +++ b/src/gui/settings_manager.cpp @@ -89,7 +89,7 @@ int CSettingsManager::exec(CMenuTarget* parent, const std::string &actionKey) else if(actionKey == "saveconfig") { fileBrowser.Dir_Mode = true; - if (fileBrowser.exec("/var/tuxbox") == true) + if (fileBrowser.exec("/media") == true) { std::string fname = "neutrino.conf"; CKeyboardInput * sms = new CKeyboardInput(LOCALE_EXTRA_SAVECONFIG, &fname);