revert one fix for blur effect

--limiting the qregion returned for blur effect
it created in some cases broken visuals concerning
the bluring of the background
pull/2/head
Michail Vourlakos 7 years ago
parent 7a9c0504db
commit 393342ad9e

@ -1576,8 +1576,7 @@ void DockView::updateEffects()
fixedMask.translate(m_effectsArea.x(), m_effectsArea.y());
//! fix1, for KF5.32 that return empty QRegion's for the mask
//! fix2, sometimes the calculations return too many regions!!!
if (fixedMask.isEmpty() || fixedMask.rectCount() > 25) {
if (fixedMask.isEmpty()) {
fixedMask = QRegion(m_effectsArea);
}

Loading…
Cancel
Save