summaryrefslogtreecommitdiffstats
path: root/kenolaba
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:48:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-05 11:40:17 +0900
commit76f734a8102bfc590570e67a73c40351ea2bbf3f (patch)
treea32a5d5c0b7491daa8d37f68bb878137e492bcfd /kenolaba
parent03c3d2268077e447b3a6315871c513ec91664361 (diff)
downloadtdegames-76f734a8102bfc590570e67a73c40351ea2bbf3f.tar.gz
tdegames-76f734a8102bfc590570e67a73c40351ea2bbf3f.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae)
Diffstat (limited to 'kenolaba')
-rw-r--r--kenolaba/Ball.cpp2
-rw-r--r--kenolaba/BoardWidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kenolaba/Ball.cpp b/kenolaba/Ball.cpp
index 8590a059..6f10849a 100644
--- a/kenolaba/Ball.cpp
+++ b/kenolaba/Ball.cpp
@@ -314,7 +314,7 @@ void BallWidget::resizeEvent(TQResizeEvent *)
void BallWidget::paintEvent(TQPaintEvent *)
{
- paint(TQT_TQPAINTDEVICE(this));
+ paint(this);
}
diff --git a/kenolaba/BoardWidget.cpp b/kenolaba/BoardWidget.cpp
index d4178fe6..620b7d77 100644
--- a/kenolaba/BoardWidget.cpp
+++ b/kenolaba/BoardWidget.cpp
@@ -164,7 +164,7 @@ void BoardWidget::paintEvent(TQPaintEvent *)
{
if (renderMode) {
pm = boardPM;
- BallWidget::paint(TQT_TQPAINTDEVICE(&pm));
+ BallWidget::paint(&pm);
}
else
draw();