aboutsummaryrefslogtreecommitdiff
path: root/src-qt5
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-03-05 15:29:02 -0500
committerKen Moore <ken@ixsystems.com>2018-03-05 15:29:02 -0500
commitef784071eac09f0868ee1f354c91c41f14d8df31 (patch)
treee92acd4ed374feed7b475016b36c5069ac668516 /src-qt5
parentAdd another XDG registration for lumina-mediaplayer when pianobar is installed. (diff)
downloadlumina-ef784071eac09f0868ee1f354c91c41f14d8df31.tar.gz
lumina-ef784071eac09f0868ee1f354c91c41f14d8df31.tar.bz2
lumina-ef784071eac09f0868ee1f354c91c41f14d8df31.zip
Turn off all the debugging output in the cursor change code in the theme engine.
Diffstat (limited to 'src-qt5')
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine-qtplugin/lthemeengineplatformtheme.cpp16
1 files changed, 8 insertions, 8 deletions
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; i<curs->ncursor; i++){
for(int w=0; w<wins.length(); w++){
XDefineCursor(curs->dpy, wins[w]->winId(), curs->cursors[i]);
bgstack15