XCB: Replace qDebug with qCDebug

Change-Id: I984c3e3288aa4d0b7185ea88ae0c4cf4627a2da3
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
Orgad Shaneh 2018-01-13 23:22:10 +02:00 committed by Orgad Shaneh
parent 66e56762e1
commit 6e5edb5a15
3 changed files with 6 additions and 6 deletions

View File

@ -60,7 +60,7 @@ const xcb_visualtype_t *QXcbGlxWindow::createVisual()
if (!scr)
return Q_NULLPTR;
qDebug(lcQpaGl) << "Requested format before FBConfig/Visual selection:" << m_format;
qCDebug(lcQpaGl) << "Requested format before FBConfig/Visual selection:" << m_format;
Display *dpy = static_cast<Display *>(scr->connection()->xlib_display());
const char *glxExts = glXQueryExtensionsString(dpy, scr->screenNumber());
@ -79,7 +79,7 @@ const xcb_visualtype_t *QXcbGlxWindow::createVisual()
const xcb_visualtype_t *xcb_visualtype = scr->visualForId(visualInfo->visualid);
XFree(visualInfo);
qDebug(lcQpaGl) << "Got format:" << m_format;
qCDebug(lcQpaGl) << "Got format:" << m_format;
return xcb_visualtype;
}

View File

@ -176,8 +176,8 @@ QXcbIntegration::QXcbIntegration(const QStringList &parameters, int &argc, char
#if defined(QT_DEBUG)
if (!noGrabArg && !doGrabArg && underDebugger) {
qDebug("Qt: gdb: -nograb added to command-line options.\n"
"\t Use the -dograb option to enforce grabbing.");
qCDebug(lcQpaXcb, "Qt: gdb: -nograb added to command-line options.\n"
"\t Use the -dograb option to enforce grabbing.");
}
#endif
m_canGrab = (!underDebugger && !noGrabArg) || (underDebugger && doGrabArg);
@ -213,7 +213,7 @@ QXcbIntegration::QXcbIntegration(const QStringList &parameters, int &argc, char
#if QT_CONFIG(xcb_native_painting)
if (nativePaintingEnabled()) {
qDebug("QXCB USING NATIVE PAINTING");
qCDebug(lcQpaXcb, "QXCB USING NATIVE PAINTING");
qt_xcb_native_x11_info_init(defaultConnection());
}
#endif

View File

@ -282,7 +282,7 @@ static inline XTextProperty* qstringToXTP(Display *dpy, const QString& s)
tl[1] = 0;
errCode = XmbTextListToTextProperty(dpy, tl, 1, XStdICCTextStyle, &tp);
if (errCode < 0)
qDebug("XmbTextListToTextProperty result code %d", errCode);
qCDebug(lcQpaXcb, "XmbTextListToTextProperty result code %d", errCode);
}
if (!mapper || errCode < 0) {
mapper = QTextCodec::codecForName("latin1");