diff options
Diffstat (limited to 'tdecore/kiconeffect.cpp')
-rw-r--r-- | tdecore/kiconeffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/kiconeffect.cpp b/tdecore/kiconeffect.cpp index a5cb4bcae..cd6b9bad7 100644 --- a/tdecore/kiconeffect.cpp +++ b/tdecore/kiconeffect.cpp @@ -846,13 +846,13 @@ TDEIconEffect::visualActivate(TQWidget * widget, TQRect rect, TQPixmap *pixmap) if ((widget->rect().width() <= maxRect.width()) || (widget->rect().height() <= maxRect.height())) { -// p = new TQPainter(TQApplication::desktop()->screen( -1 ), TRUE); // WARNING: This was done in Qt3. It only worked in this placement due to a glitch in Qt3; it has therefore been moved below grabWidget, where it should have been in the first place. +// p = new TQPainter(TQApplication::desktop()->screen( -1 ), true); // WARNING: This was done in Qt3. It only worked in this placement due to a glitch in Qt3; it has therefore been moved below grabWidget, where it should have been in the first place. pix = TQPixmap::grabWindow((TQApplication::desktop()->screen( -1 ))->winId(), maxRect.x(), maxRect.y(), maxRect.width(), maxRect.height()); - p = new TQPainter(TQApplication::desktop()->screen( -1 ), TRUE); + p = new TQPainter(TQApplication::desktop()->screen( -1 ), true); } else { // not as ugly as drawing directly to the screen |