Skip to content

Commit

Permalink
Disable idle time any time inputs are locked.
Browse files Browse the repository at this point in the history
This disabled the idle shutdown timer any time the user has locked the
inputs to use an external application, preventing MythTV from shutting
down and disrupting external tasks.
  • Loading branch information
wagnerrp committed Oct 29, 2012
1 parent 7c903d2 commit cac1413
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythui/mythmainwindow.cpp
Expand Up @@ -2320,10 +2320,12 @@ void MythMainWindow::customEvent(QEvent *ce)
else if (ce->type() == MythEvent::kLockInputDevicesEventType)
{
LockInputDevices(true);
PauseIdleTimer(true);
}
else if (ce->type() == MythEvent::kUnlockInputDevicesEventType)
{
LockInputDevices(false);
PauseIdleTimer(false);
}
else if (ce->type() == MythEvent::kDisableUDPListenerEventType)
{
Expand Down

0 comments on commit cac1413

Please sign in to comment.