Drop TQT_TQ*_CONST defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/5/head
Michele Calgaro 9 months ago
parent c46be60525
commit d89d2afab3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -376,7 +376,7 @@ class MyPainter : public TQPainter
int m_fontWidth; int m_fontWidth;
public: public:
MyPainter(const TQPaintDevice* pd, bool bRTL, int width, int fontWidth) MyPainter(const TQPaintDevice* pd, bool bRTL, int width, int fontWidth)
: TQPainter(const_cast<TQPaintDevice*>(TQT_TQPAINTDEVICE_CONST(pd))) : TQPainter(pd)
{ {
if (bRTL) if (bRTL)
{ {

Loading…
Cancel
Save