mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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
Origin commit data
------------------
Commit: bd6a48bf14
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2011-07-21 (Thu, 21 Jul 2011)
This commit is contained in:
@@ -34,13 +34,12 @@
|
||||
#endif
|
||||
|
||||
|
||||
#include "gui/record_setup.h"
|
||||
|
||||
#include <global.h>
|
||||
#include <neutrino.h>
|
||||
|
||||
#include <mymenu.h>
|
||||
|
||||
#include "gui/record_setup.h"
|
||||
#include "gui/filebrowser.h"
|
||||
|
||||
#include <gui/widget/icons.h>
|
||||
@@ -49,6 +48,7 @@
|
||||
#include <gui/widget/stringinput_ext.h>
|
||||
|
||||
#include <driver/screen_max.h>
|
||||
#include <driver/record.h>
|
||||
|
||||
#include <system/debug.h>
|
||||
|
||||
@@ -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;
|
||||
|
Reference in New Issue
Block a user