Try to fix test for automatic run with travis

* Additionally calculate valid pressure
This commit is contained in:
2017-02-13 21:04:03 +03:00
parent d097e154ff
commit 10f556e41b
8 changed files with 54 additions and 17 deletions

View File

@ -255,6 +255,12 @@ QString PlayerSource::stripString(const QString &value, const int s)
}
bool PlayerSource::isMpdSocketConnected() const
{
return (m_mpdSocket.state() == QAbstractSocket::ConnectedState);
}
void PlayerSource::mpdSocketConnected()
{
qCDebug(LOG_ESS) << "MPD socket connected to" << m_mpdSocket.peerName()