Fix a 64-bit issue in WindowEffects::enableBlurBehind().
CCBUG: 235620 svn path=/trunk/KDE/kdelibs/; revision=1130565
This commit is contained in:
parent
c7e7ea0f6d
commit
3efaa0c487
@ -309,9 +309,8 @@ void enableBlurBehind(WId window, bool enable, const QRegion ®ion)
|
||||
|
||||
if (enable) {
|
||||
QVector<QRect> rects = region.rects();
|
||||
QVector<quint32> data;
|
||||
for (int i = 0; i < rects.count(); i++) {
|
||||
const QRect r = rects[i];
|
||||
QVector<unsigned long> data;
|
||||
foreach (const QRect &r, rects) {
|
||||
data << r.x() << r.y() << r.width() << r.height();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user