From 71a854093d3a0b8b5a4e8055622bf388caac9034 Mon Sep 17 00:00:00 2001 From: janbar Date: Sun, 1 Oct 2017 18:09:43 +0200 Subject: [PATCH] upgrade trace level when discovering devices --- backend/modules/NosonApp/sonos.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/modules/NosonApp/sonos.cpp b/backend/modules/NosonApp/sonos.cpp index 822fad71..445d738b 100644 --- a/backend/modules/NosonApp/sonos.cpp +++ b/backend/modules/NosonApp/sonos.cpp @@ -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)