Skip to content

Commit

Permalink
Fix a QT warning about calling killTimer() with an invalid timer id.
Browse files Browse the repository at this point in the history
(cherry picked from commit 7ad539e)
  • Loading branch information
stuartm committed Jul 29, 2011
1 parent 760c8db commit 5be3cdf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/programs/mythfrontend/playbackboxhelper.cpp
Expand Up @@ -105,7 +105,10 @@ AvailableStatusType PBHEventHandler::CheckAvailability(const QStringList &slist)
if (it != m_checkAvailability.end())
m_checkAvailability.erase(it);
if (m_checkAvailability.empty() && m_checkAvailabilityTimerId)
{
killTimer(m_checkAvailabilityTimerId);
m_checkAvailabilityTimerId = 0;
}
}

if (cats.empty())
Expand Down

0 comments on commit 5be3cdf

Please sign in to comment.