Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 53cb9583af5db1223b23118d9cbd9335 > files > 1

lastfm-player-1.5.4.27091-3.mga1.src.rpm

With a release build, the ALSA output plugin writes noisy messages to the log
file. Only make it noisy in a debug build.
--- a/src/output/alsa-playback/alsaaudio.cpp
+++ b/src/output/alsa-playback/alsaaudio.cpp
@@ -27,7 +27,12 @@
  ***************************************************************************/
 
 #include "alsaaudio.h"
+#ifdef QT_NO_DEBUG
+#include <QDebug>
+#define Q_DEBUG_BLOCK qDebug()
+#else
 #include "logger.h"
+#endif
 #include <qendian.h>
 
 //no debug