DashboardEffect does not have a propertyNotify method

So there is no need to call the virtual method of the parent class
which does nothing.
This commit is contained in:
Martin Gräßlin 2011-03-12 18:54:18 +01:00
parent 88d50727ee
commit f134a5c6bd

View file

@ -176,8 +176,6 @@ void DashboardEffect::slotWindowActivated(EffectWindow *w)
void DashboardEffect::slotWindowAdded(EffectWindow* w) void DashboardEffect::slotWindowAdded(EffectWindow* w)
{ {
propertyNotify(w, atom);
if (isDashboard(w)) { if (isDashboard(w)) {
// Tell other windowAdded() effects to ignore this window // Tell other windowAdded() effects to ignore this window
w->setData(WindowAddedGrabRole, QVariant::fromValue(static_cast<void*>(this))); w->setData(WindowAddedGrabRole, QVariant::fromValue(static_cast<void*>(this)));
@ -192,8 +190,6 @@ void DashboardEffect::slotWindowAdded(EffectWindow* w)
void DashboardEffect::slotWindowClosed(EffectWindow* w) void DashboardEffect::slotWindowClosed(EffectWindow* w)
{ {
propertyNotify(w, atom);
if (isDashboard(w)) { if (isDashboard(w)) {
// Tell other windowClosed() effects to ignore this window // Tell other windowClosed() effects to ignore this window
w->setData(WindowClosedGrabRole, QVariant::fromValue(static_cast<void*>(this))); w->setData(WindowClosedGrabRole, QVariant::fromValue(static_cast<void*>(this)));