From 858fbd217edc6b7e4bcdea04a4470ddedfe6aca5 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 1 May 2014 17:30:50 +0400 Subject: [PATCH] gui/record_setup.cpp: avoid set empty timeshift dir --- src/gui/record_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/record_setup.cpp b/src/gui/record_setup.cpp index 3b6b19c7f..905ae232c 100644 --- a/src/gui/record_setup.cpp +++ b/src/gui/record_setup.cpp @@ -97,8 +97,8 @@ int CRecordSetup::exec(CMenuTarget* parent, const std::string &actionKey) timeshiftDir = g_settings.network_nfs_recordingdir + "/.timeshift"; safe_mkdir(timeshiftDir.c_str()); printf("New timeshift dir: %s\n", timeshiftDir.c_str()); + CRecordManager::getInstance()->SetTimeshiftDirectory(timeshiftDir); } - CRecordManager::getInstance()->SetTimeshiftDirectory(timeshiftDir); } return res; }