From ef784071eac09f0868ee1f354c91c41f14d8df31 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 5 Mar 2018 15:29:02 -0500 Subject: Turn off all the debugging output in the cursor change code in the theme engine. --- .../lthemeengine-qtplugin/lthemeengineplatformtheme.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src-qt5/core/lumina-theme-engine/src/lthemeengine-qtplugin') diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine-qtplugin/lthemeengineplatformtheme.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine-qtplugin/lthemeengineplatformtheme.cpp index 302ec2fc..789b3990 100644 --- a/src-qt5/core/lumina-theme-engine/src/lthemeengine-qtplugin/lthemeengineplatformtheme.cpp +++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine-qtplugin/lthemeengineplatformtheme.cpp @@ -343,23 +343,23 @@ void lthemeenginePlatformTheme::syncMouseCursorTheme(QString indexfile){ }else{ return; } - qDebug() << "Qt Stats:"; - qDebug() << " TopLevelWindows:" << QGuiApplication::topLevelWindows().length(); - qDebug() << " AllWindows:" << QGuiApplication::allWindows().length(); - qDebug() << " AllWidgets:" << QApplication::allWidgets().length(); + //qDebug() << "Qt Stats:"; + //qDebug() << " TopLevelWindows:" << QGuiApplication::topLevelWindows().length(); + //qDebug() << " AllWindows:" << QGuiApplication::allWindows().length(); + //qDebug() << " AllWidgets:" << QApplication::allWidgets().length(); //XcursorSetThemeCore( QX11Info::display(), XcursorGetThemeCore(QX11Info::display()) ); //reset the theme core //Load the cursors from the new theme int defsize = XcursorGetDefaultSize(QX11Info::display()); - qDebug() << "Default cursor size:" << defsize; + //qDebug() << "Default cursor size:" << defsize; XcursorImages *imgs = XcursorLibraryLoadImages("left_ptr", NULL, defsize); - qDebug() << "imgs:" << imgs << imgs->nimage; + //qDebug() << "imgs:" << imgs << imgs->nimage; XcursorCursors *curs = XcursorImagesLoadCursors(QX11Info::display(), imgs); if(curs==0){ return; } //not found - qDebug() << "Got Cursors:" << curs->ncursor; + //qDebug() << "Got Cursors:" << curs->ncursor; //Now re-set the cursors for the current top-level X windows QWindowList wins = QGuiApplication::allWindows(); //QGuiApplication::topLevelWindows(); - qDebug() << "Got Windows:" << wins.length(); + //qDebug() << "Got Windows:" << wins.length(); for(int i=0; incursor; i++){ for(int w=0; wdpy, wins[w]->winId(), curs->cursors[i]); -- cgit