From bd6a48bf1447299f13d3837e30dd29ee3c3aa362 Mon Sep 17 00:00:00 2001 From: focus Date: Thu, 21 Jul 2011 11:11:57 +0000 Subject: [PATCH] Fix setting timeshift dif from menu git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1578 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/record_setup.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gui/record_setup.cpp b/src/gui/record_setup.cpp index c4487b9db..04e5c69f2 100644 --- a/src/gui/record_setup.cpp +++ b/src/gui/record_setup.cpp @@ -34,13 +34,12 @@ #endif -#include "gui/record_setup.h" - #include #include #include +#include "gui/record_setup.h" #include "gui/filebrowser.h" #include @@ -49,6 +48,7 @@ #include #include +#include #include @@ -97,6 +97,7 @@ int CRecordSetup::exec(CMenuTarget* parent, const std::string &actionKey) safe_mkdir(timeshiftDir); printf("New timeshift dir: %s\n", timeshiftDir); } + CRecordManager::getInstance()->SetTimeshiftDirectory(timeshiftDir); } return res; } @@ -128,6 +129,7 @@ int CRecordSetup::exec(CMenuTarget* parent, const std::string &actionKey) printf("New timeshift == rec dir\n"); } printf("New timeshift dir: %s\n", timeshiftDir); + CRecordManager::getInstance()->SetTimeshiftDirectory(timeshiftDir); } } return res;