diff options
Diffstat (limited to 'kolourpaint/patches/checkerboard-faster-render.diff')
-rw-r--r-- | kolourpaint/patches/checkerboard-faster-render.diff | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kolourpaint/patches/checkerboard-faster-render.diff b/kolourpaint/patches/checkerboard-faster-render.diff index 8c9c6402..824106ca 100644 --- a/kolourpaint/patches/checkerboard-faster-render.diff +++ b/kolourpaint/patches/checkerboard-faster-render.diff @@ -34,17 +34,17 @@ QPainter::fillRect(). QPainter::drawPixmap() seems much faster. For + { + for (int x = 0; x < rep; x++) + { -+ QColor col; ++ TQColor col; + + if ((parityAsInt + x + y) % 2) + { + if (!isPreview) -+ col = QColor (213, 213, 213); ++ col = TQColor (213, 213, 213); + else -+ col = QColor (224, 224, 224); ++ col = TQColor (224, 224, 224); + } + else -+ col = Qt::white; ++ col = TQt::white; + + painter.fillRect (x * cellSize, y * cellSize, + cellSize, cellSize, |