diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:48:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-05 11:40:17 +0900 |
commit | 76f734a8102bfc590570e67a73c40351ea2bbf3f (patch) | |
tree | a32a5d5c0b7491daa8d37f68bb878137e492bcfd /atlantik/libatlantikui/estatedetails.cpp | |
parent | 03c3d2268077e447b3a6315871c513ec91664361 (diff) | |
download | tdegames-76f734a8102bfc590570e67a73c40351ea2bbf3f.tar.gz tdegames-76f734a8102bfc590570e67a73c40351ea2bbf3f.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae)
Diffstat (limited to 'atlantik/libatlantikui/estatedetails.cpp')
-rw-r--r-- | atlantik/libatlantikui/estatedetails.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/atlantik/libatlantikui/estatedetails.cpp b/atlantik/libatlantikui/estatedetails.cpp index 03ff0f13..cc271752 100644 --- a/atlantik/libatlantikui/estatedetails.cpp +++ b/atlantik/libatlantikui/estatedetails.cpp @@ -114,7 +114,7 @@ void EstateDetails::paintEvent(TQPaintEvent *) TQColor greenHouse(0, 255, 0); TQColor redHotel(255, 51, 51); TQPainter painter; - painter.begin(TQT_TQPAINTDEVICE(m_pixmap), this); + painter.begin(m_pixmap, this); painter.setPen(TQt::black); @@ -136,7 +136,7 @@ void EstateDetails::paintEvent(TQPaintEvent *) quartzBuffer->resize(25, (height()/4)-2); TQPainter quartzPainter; - quartzPainter.begin(TQT_TQPAINTDEVICE(quartzBuffer), this); + quartzPainter.begin(quartzBuffer, this); painter.setBrush(titleColor); painter.drawRect(0, 0, width(), titleHeight); |