mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Remove some debugging
This commit is contained in:
parent
ba9c04a4bc
commit
c04ca30792
@ -141,7 +141,6 @@ eOSState cRecMenuManager::StateMachine(eRecMenuState nextState) {
|
|||||||
case rmsDeleteTimerConflictMenu: {
|
case rmsDeleteTimerConflictMenu: {
|
||||||
//caller: cRecMenuTimerConflict
|
//caller: cRecMenuTimerConflict
|
||||||
//delete timer out of current timer conflict
|
//delete timer out of current timer conflict
|
||||||
dsyslog ("%s %s %d\n", __FILE__, __func__, __LINE__);
|
|
||||||
int timerIndex;
|
int timerIndex;
|
||||||
if (cRecMenuTimerConflict *menu = dynamic_cast<cRecMenuTimerConflict*>(activeMenu)) {
|
if (cRecMenuTimerConflict *menu = dynamic_cast<cRecMenuTimerConflict*>(activeMenu)) {
|
||||||
timerIndex = menu->GetTimerConflictIndex();
|
timerIndex = menu->GetTimerConflictIndex();
|
||||||
@ -193,7 +192,6 @@ eOSState cRecMenuManager::StateMachine(eRecMenuState nextState) {
|
|||||||
case rmsDeleteTimer:
|
case rmsDeleteTimer:
|
||||||
//caller: main menu
|
//caller: main menu
|
||||||
//delete timer for active event
|
//delete timer for active event
|
||||||
dsyslog ("%s %s %d\n", __FILE__, __func__, __LINE__);
|
|
||||||
delete activeMenu;
|
delete activeMenu;
|
||||||
if (recManager->IsRecorded(event)) {
|
if (recManager->IsRecorded(event)) {
|
||||||
activeMenu = new cRecMenuAskDeleteTimer(event);
|
activeMenu = new cRecMenuAskDeleteTimer(event);
|
||||||
|
@ -6,13 +6,11 @@
|
|||||||
// --- cRecMenuMain ---------------------------------------------------------
|
// --- cRecMenuMain ---------------------------------------------------------
|
||||||
cRecMenuMain::cRecMenuMain(bool epgSearchAvailable, bool timerActive, bool switchTimerActive) {
|
cRecMenuMain::cRecMenuMain(bool epgSearchAvailable, bool timerActive, bool switchTimerActive) {
|
||||||
eRecMenuState action = rmsInstantRecord;
|
eRecMenuState action = rmsInstantRecord;
|
||||||
dsyslog ("%s %s %d\n", __FILE__, __func__, __LINE__);
|
|
||||||
if (!timerActive) {
|
if (!timerActive) {
|
||||||
if (tvguideConfig.instRecFolderMode == eFolderSelect)
|
if (tvguideConfig.instRecFolderMode == eFolderSelect)
|
||||||
action = rmsInstantRecordFolder;
|
action = rmsInstantRecordFolder;
|
||||||
AddMenuItem(new cRecMenuItemButton(tr("Instant Record"), action, true, false, false, true));
|
AddMenuItem(new cRecMenuItemButton(tr("Instant Record"), action, true, false, false, true));
|
||||||
} else {
|
} else {
|
||||||
dsyslog ("%s %s %d\n", __FILE__, __func__, __LINE__);
|
|
||||||
AddMenuItem(new cRecMenuItemButton(tr("Delete Timer"), rmsDeleteTimer, true, false, false, true));
|
AddMenuItem(new cRecMenuItemButton(tr("Delete Timer"), rmsDeleteTimer, true, false, false, true));
|
||||||
AddMenuItem(new cRecMenuItemButton(tr("Edit Timer"), rmsEditTimer, false, false, false, true));
|
AddMenuItem(new cRecMenuItemButton(tr("Edit Timer"), rmsEditTimer, false, false, false, true));
|
||||||
}
|
}
|
||||||
@ -149,7 +147,6 @@ cRecMenuConfirmTimer::cRecMenuConfirmTimer(const cEvent *event) {
|
|||||||
|
|
||||||
// --- cRecMenuConfirmDeleteTimer ---------------------------------------------------------
|
// --- cRecMenuConfirmDeleteTimer ---------------------------------------------------------
|
||||||
cRecMenuConfirmDeleteTimer::cRecMenuConfirmDeleteTimer(const cEvent *event) {
|
cRecMenuConfirmDeleteTimer::cRecMenuConfirmDeleteTimer(const cEvent *event) {
|
||||||
dsyslog ("%s %s %d\n", __FILE__, __func__, __LINE__);
|
|
||||||
SetWidthPercent(50);
|
SetWidthPercent(50);
|
||||||
#if VDRVERSNUM >= 20301
|
#if VDRVERSNUM >= 20301
|
||||||
LOCK_CHANNELS_READ;
|
LOCK_CHANNELS_READ;
|
||||||
@ -177,7 +174,6 @@ cRecMenuConfirmDeleteTimer::cRecMenuConfirmDeleteTimer(const cEvent *event) {
|
|||||||
|
|
||||||
// --- cRecMenuAskDeleteTimer ---------------------------------------------------------
|
// --- cRecMenuAskDeleteTimer ---------------------------------------------------------
|
||||||
cRecMenuAskDeleteTimer::cRecMenuAskDeleteTimer(const cEvent *event) {
|
cRecMenuAskDeleteTimer::cRecMenuAskDeleteTimer(const cEvent *event) {
|
||||||
dsyslog ("%s %s %d\n", __FILE__, __func__, __LINE__);
|
|
||||||
SetWidthPercent(50);
|
SetWidthPercent(50);
|
||||||
#if VDRVERSNUM >= 20301
|
#if VDRVERSNUM >= 20301
|
||||||
LOCK_CHANNELS_READ;
|
LOCK_CHANNELS_READ;
|
||||||
@ -911,7 +907,6 @@ void cRecMenuSearchTimerEdit::CreateMenuItems(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cTVGuideSearchTimer cRecMenuSearchTimerEdit::GetSearchTimer(void) {
|
cTVGuideSearchTimer cRecMenuSearchTimerEdit::GetSearchTimer(void) {
|
||||||
dsyslog ("%s %s %d\n", __FILE__, __func__, __LINE__);
|
|
||||||
searchTimer.SetSearchString(searchString);
|
searchTimer.SetSearchString(searchString);
|
||||||
searchTimer.SetSearchMode(sT.mode);
|
searchTimer.SetSearchMode(sT.mode);
|
||||||
searchTimer.SetFuzzyTolerance(sT.fuzzyTolerance);
|
searchTimer.SetFuzzyTolerance(sT.fuzzyTolerance);
|
||||||
|
Loading…
Reference in New Issue
Block a user