diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-13 09:38:34 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-15 20:09:38 +0900 |
| commit | ca275a6386d2ea3b95129ce78695865a3523153b (patch) | |
| tree | 928f442cdcd715bb0ece379b605cfb4a7ef1c035 /tdecore/kiconeffect.cpp | |
| parent | 3afb7eb4e984562dff3addf2c6399c19262497f0 (diff) | |
| download | tdelibs-ca275a63.tar.gz tdelibs-ca275a63.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ad58630b34fc61754c763cf951004ef27e38d33d)
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 |
