diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:48:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 23:32:33 +0900 |
commit | 2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae (patch) | |
tree | 4b6680c122d01a94bbd0b50c449b282a8d73fa8a /kenolaba | |
parent | 6022ab632c2ecf160a9f6f1fbb532506aeca3633 (diff) | |
download | tdegames-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.cpp | 2 | ||||
-rw-r--r-- | kenolaba/BoardWidget.cpp | 2 |
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(); |