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-03 23:32:33 +0900
commit2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae (patch)
tree4b6680c122d01a94bbd0b50c449b282a8d73fa8a /kenolaba
parent6022ab632c2ecf160a9f6f1fbb532506aeca3633 (diff)
downloadtdegames-2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae.tar.gz
tdegames-2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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();