Skip to content

Commit

Permalink
upgrade trace level when discovering devices
Browse files Browse the repository at this point in the history
  • Loading branch information
janbar committed Oct 1, 2017
1 parent dc1270b commit 71a8540
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/modules/NosonApp/sonos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ Sonos::~Sonos()

bool Sonos::init(int debug)
{
SONOS::DBGLevel(debug > DBG_INFO ? debug : DBG_INFO);
bool ret = m_system.Discover();
SONOS::DBGLevel(debug);
return m_system.Discover();
return ret;
}

void Sonos::setLocale(const QString& locale)
Expand Down

0 comments on commit 71a8540

Please sign in to comment.