Drop TQT_TQ*_CONST defines

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

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

Loading…
Cancel
Save