Skip to content

Commit

Permalink
Do not display "backend is online" notification, if no errors were di…
Browse files Browse the repository at this point in the history
…splayed before
  • Loading branch information
jyavenard committed Jul 9, 2013
1 parent 9cb7444 commit 318e525
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mythtv/libs/libmyth/mythcontext.cpp
Expand Up @@ -1038,11 +1038,15 @@ void MythContextPrivate::HideConnectionFailurePopup(void)
if (!GetNotificationCenter())
return;

if (!m_lastCheck.isValid())
return;

MythNotification n(QObject::tr("Backend is online"), _Location);
n.SetId(m_registration);
n.SetParent(this);
n.SetDuration(5);
GetNotificationCenter()->Queue(n);
m_lastCheck = MythDate::current();
}

void MythContextPrivate::ShowVersionMismatchPopup(uint remote_version)
Expand Down

0 comments on commit 318e525

Please sign in to comment.