[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/applets/tasks
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2009-05-12 9:32:03
Message-ID: 1242120723.924972.20240.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 966924 by aseigo:
and if we have a group with no items with tasks in it, don't set the atom
M +2 -2 abstracttaskitem.cpp
--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/abstracttaskitem.cpp #966923:966924
@@ -423,8 +423,8 @@
data.resize(actualCount);
}
- Display *dpy = QX11Info::display();
- if (m_applet->view()) {
+ if (!data.isEmpty() && m_applet->view()) {
+ Display *dpy = QX11Info::display();
const WId winId = m_applet->view()->winId();
Atom atom = XInternAtom(dpy, "_KDE_WINDOW_HIGHLIGHT", False);
XChangeProperty(dpy, winId, atom, atom, 32, PropModeReplace,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic