summaryrefslogtreecommitdiffstats
path: root/atlantik/libatlantikui/estateview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik/libatlantikui/estateview.cpp')
-rw-r--r--atlantik/libatlantikui/estateview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/atlantik/libatlantikui/estateview.cpp b/atlantik/libatlantikui/estateview.cpp
index 47f96572..193ace17 100644
--- a/atlantik/libatlantikui/estateview.cpp
+++ b/atlantik/libatlantikui/estateview.cpp
@@ -255,7 +255,7 @@ void EstateView::paintEvent(TQPaintEvent *)
TQColor greenHouse(0, 255, 0);
TQColor redHotel(255, 51, 51);
TQPainter painter;
- painter.begin(TQT_TQPAINTDEVICE(qpixmap), this);
+ painter.begin(qpixmap, this);
painter.setPen(TQt::black);
@@ -281,7 +281,7 @@ void EstateView::paintEvent(TQPaintEvent *)
quartzBuffer->resize(m_titleWidth-2, 25);
TQPainter quartzPainter;
- quartzPainter.begin(TQT_TQPAINTDEVICE(quartzBuffer), this);
+ quartzPainter.begin(quartzBuffer, this);
painter.setBrush(m_estate->color());
switch(m_orientation)