Fix KodivideoChecker menu detection

This commit is contained in:
brindosch 2016-07-17 17:28:34 +02:00 committed by GitHub
parent f08724f72e
commit c1e4a0a6fd
1 changed files with 3 additions and 5 deletions

View File

@ -165,12 +165,10 @@ void KODIVideoChecker::receiveReply()
// audio is playing
setGrabbingMode(_grabAudio ? GRABBINGMODE_AUDIO : GRABBINGMODE_OFF);
}
else
{
// Nothing is playing.
setGrabbingMode(_grabMenu ? GRABBINGMODE_MENU : GRABBINGMODE_OFF);
}
}
else
// Nothing is playing.
setGrabbingMode(_grabMenu ? GRABBINGMODE_MENU : GRABBINGMODE_OFF);
}
break;
}