on xenial help sign in
Disable debug messages
25afe21Daniel d'Andrada
tests/mocks/Unity/Application/ApplicationInfo.cpp+1−1
@@ -25,7 +25,7 @@
25#include <QQuickView>
25#include <QQuickView>
26#include <QQmlComponent>
26#include <QQmlComponent>
27
27
28−#define APPLICATION_DEBUG 1
28+#define APPLICATION_DEBUG 0
29
29
30#if APPLICATION_DEBUG
30#if APPLICATION_DEBUG
31#define DEBUG_MSG(params) qDebug().nospace() << "Application["<<appId()<<"]::" << __func__ << " " << params
31#define DEBUG_MSG(params) qDebug().nospace() << "Application["<<appId()<<"]::" << __func__ << " " << params
tests/mocks/Unity/Application/MirSurface.cpp+1−1
@@ -19,7 +19,7 @@
19#include <QDebug>
19#include <QDebug>
20#include <QQmlEngine>
20#include <QQmlEngine>
21
21
22−#define MIRSURFACE_DEBUG 1
22+#define MIRSURFACE_DEBUG 0
23
23
24#if MIRSURFACE_DEBUG
24#if MIRSURFACE_DEBUG
25#define DEBUG_MSG(params) qDebug().nospace() << "MirSurface[" << (void*)this << "," << m_name << "]::" << __func__ << " " << params
25#define DEBUG_MSG(params) qDebug().nospace() << "MirSurface[" << (void*)this << "," << m_name << "]::" << __func__ << " " << params