From 6161c50187f68f3fb5586e7d89dfc1f25b295461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 15 Jul 2016 12:45:10 +0200 Subject: [PATCH] [effects/slidingpopups] Don't reference previous pixmap Not needed, it works without it. --- effects/slidingpopups/slidingpopups.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/effects/slidingpopups/slidingpopups.cpp b/effects/slidingpopups/slidingpopups.cpp index 44c55853a5..931ce71e44 100644 --- a/effects/slidingpopups/slidingpopups.cpp +++ b/effects/slidingpopups/slidingpopups.cpp @@ -115,8 +115,6 @@ void SlidingPopupsEffect::prePaintWindow(EffectWindow* w, WindowPrePaintData& da w->addRepaintFull(); if (w->isDeleted()) { w->unrefWindow(); - } else { - w->unreferencePreviousWindowPixmap(); } } } @@ -321,8 +319,6 @@ void SlidingPopupsEffect::slotWindowClosed(EffectWindow* w) if (w->isOnCurrentDesktop() && !w->isMinimized() && mWindowsData.contains(w)) { if (w->isDeleted()) { w->refWindow(); - } else { - w->referencePreviousWindowPixmap(); } auto it = mAppearingWindows.find(w); if (it != mAppearingWindows.end()) {