Permalink
Browse files

Fix a QT warning about calling killTimer() with an invalid timer id.

  • Loading branch information...
1 parent 42fbadb commit 7ad539e3a4ac21188672791b27dd8e5444a09cbb @stuartm stuartm committed Jul 29, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 mythtv/programs/mythfrontend/playbackboxhelper.cpp
@@ -61,7 +61,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())

0 comments on commit 7ad539e

Please sign in to comment.