1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-18 12:28:31 +01:00

Fix compilation on release builds

This commit is contained in:
David Sansome 2011-04-22 17:17:37 +00:00
parent df05bf1195
commit 5a2f522895

View File

@ -20,8 +20,12 @@
#include <QDebug> #include <QDebug>
#define qLog(level) \ #ifdef QT_NO_DEBUG_STREAM
# define qLog(level) while (false) QNoDebug()
#else
# define qLog(level) \
logging::CreateLogger(logging::Level_##level, __PRETTY_FUNCTION__, __LINE__) logging::CreateLogger(logging::Level_##level, __PRETTY_FUNCTION__, __LINE__)
#endif
namespace logging { namespace logging {
class NullDevice : public QIODevice { class NullDevice : public QIODevice {