From 2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:48:17 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- kenolaba/Ball.cpp | 2 +- kenolaba/BoardWidget.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kenolaba') 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(); -- cgit v1.2.1