From 6e5e912c7426965234aeb95ba8e0704e21115d0f Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 16 Mar 2018 10:11:32 +0100 Subject: [PATCH] TVScreen: correct debug messages --- sdrgui/gui/tvscreen.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sdrgui/gui/tvscreen.cpp b/sdrgui/gui/tvscreen.cpp index 1a81f36b4..8d18dc665 100644 --- a/sdrgui/gui/tvscreen.cpp +++ b/sdrgui/gui/tvscreen.cpp @@ -112,19 +112,19 @@ void TVScreen::initializeGL() { if (QOpenGLContext::currentContext()->isValid()) { - qDebug() << "DATVScreen::initializeGL: context:" + qDebug() << "TVScreen::initializeGL: context:" << " major: " << (QOpenGLContext::currentContext()->format()).majorVersion() << " minor: " << (QOpenGLContext::currentContext()->format()).minorVersion() << " ES: " << (QOpenGLContext::currentContext()->isOpenGLES() ? "yes" : "no"); } else { - qDebug() << "DATVScreen::initializeGL: current context is invalid"; + qDebug() << "TVScreen::initializeGL: current context is invalid"; } } else { - qCritical() << "DATVScreen::initializeGL: no current context"; + qCritical() << "TVScreen::initializeGL: no current context"; return; } @@ -132,21 +132,21 @@ void TVScreen::initializeGL() if (objSurface == NULL) { - qCritical() << "DATVScreen::initializeGL: no surface attached"; + qCritical() << "TVScreen::initializeGL: no surface attached"; return; } else { if (objSurface->surfaceType() != QSurface::OpenGLSurface) { - qCritical() << "DATVScreen::initializeGL: surface is not an OpenGLSurface: " + qCritical() << "TVScreen::initializeGL: surface is not an OpenGLSurface: " << objSurface->surfaceType() << " cannot use an OpenGL context"; return; } else { - qDebug() << "DATVScreen::initializeGL: OpenGL surface:" + qDebug() << "TVScreen::initializeGL: OpenGL surface:" << " class: " << (objSurface->surfaceClass() == QSurface::Window ? "Window" : "Offscreen"); } } @@ -198,7 +198,7 @@ void TVScreen::tick() void TVScreen::connectTimer(const QTimer& objTimer) { - qDebug() << "DATVScreen::connectTimer"; + qDebug() << "TVScreen::connectTimer"; disconnect(&m_objTimer, SIGNAL(timeout()), this, SLOT(tick())); connect(&objTimer, SIGNAL(timeout()), this, SLOT(tick())); m_objTimer.stop();