summaryrefslogtreecommitdiffstats
path: root/kenolaba
diff options
context:
space:
mode:
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();