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:
parent
df05bf1195
commit
5a2f522895
@ -20,8 +20,12 @@
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
#define qLog(level) \
|
||||
logging::CreateLogger(logging::Level_##level, __PRETTY_FUNCTION__, __LINE__)
|
||||
#ifdef QT_NO_DEBUG_STREAM
|
||||
# define qLog(level) while (false) QNoDebug()
|
||||
#else
|
||||
# define qLog(level) \
|
||||
logging::CreateLogger(logging::Level_##level, __PRETTY_FUNCTION__, __LINE__)
|
||||
#endif
|
||||
|
||||
namespace logging {
|
||||
class NullDevice : public QIODevice {
|
||||
|
Loading…
Reference in New Issue
Block a user