gui/record_setup.cpp: avoid set empty timeshift dir

Origin commit data
------------------
Commit: 858fbd217e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-05-01 (Thu, 01 May 2014)
This commit is contained in:
[CST] Focus
2014-05-01 17:30:50 +04:00
parent 630f60bbce
commit d4766acdcf

View File

@@ -97,9 +97,9 @@ 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);
}
}
return res;
}
else if(actionKey == "timeshiftdir")