Remove random qDebug output

Makes it easier to spot the actual problems on the output. If there's
something that's actually indicating a problem, we should make it a
qWarning.
wilder-5.14
Aleix Pol 12 years ago
parent 320064f48f
commit 7c641e5ab5
  1. 1
      libtaskmanager/taskitem.cpp
  2. 2
      shell/panelshadows.cpp
  3. 1
      wallpapers/image/image.cpp
  4. 5
      wallpapers/image/imagepackage/contents/ui/main.qml

@ -501,7 +501,6 @@ static KService::List getServicesViaPid(int pid)
if (services.empty() && !QStandardPaths::findExecutable(cmdline).isEmpty()) {
// cmdline now exists without arguments if there were any
services << QExplicitlySharedDataPointer<KService>(new KService(proc->name, cmdline, QString()));
qDebug() << "adding for" << proc->name << cmdline;
}
return services;
}

@ -475,7 +475,7 @@ void PanelShadows::Private::updateShadow(const QWindow *window, Plasma::FrameSvg
Display *dpy = QX11Info::display();
Atom atom = XInternAtom(dpy, "_KDE_NET_WM_SHADOW", False);
qDebug() << "going to set the shadow of" << window->winId() << "to" << data;
// qDebug() << "going to set the shadow of" << window->winId() << "to" << data;
XChangeProperty(dpy, window->winId(), atom, XA_CARDINAL, 32, PropModeReplace,
reinterpret_cast<const unsigned char *>(data[enabledBorders].constData()), data[enabledBorders].size());
#else

@ -355,7 +355,6 @@ void Image::setSingleImage()
setSingleImage();
}
}
qDebug()<<"Found wallpaper" << m_wallpaperPath;
}
void Image::addUrls(const QList<QUrl> &urls)

@ -32,7 +32,6 @@ Rectangle {
//public API, the C++ part will look for those
function setUrl(url) {
print("Url dropped: " + url)
wallpaper.configuration.Image = url
imageWallpaper.addUsersWallpaper(url);
}
@ -91,7 +90,6 @@ Rectangle {
}
Component.onCompleted: {
print("WP : configuredImage: " + configuredImage);
imageWallpaper.addUrl(configuredImage)
if (wallpaper.pluginName == "org.kde.slideshow") {
wallpaper.setAction("next", i18n("Next Wallpaper Image"),"user-desktop");
@ -121,8 +119,7 @@ Rectangle {
imageWallpaper.addUrl(configuredImage)
}
onModelImageChanged: {
print("WP onModelImageChanged: " + modelImage);
fadeWallpaper()
fadeWallpaper();
}

Loading…
Cancel
Save