summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-09 13:55:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-09 13:55:22 +0900
commitd89d2afab3da72366daa6ee4b379813bc8b29467 (patch)
tree67b53db10a82ebc16f9110739275c2f3945791b4
parentc46be605257ef2a44573d27386ec875c2ffa487a (diff)
downloadkdiff3-d89d2afab3da72366daa6ee4b379813bc8b29467.tar.gz
kdiff3-d89d2afab3da72366daa6ee4b379813bc8b29467.zip
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/diff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff.h b/src/diff.h
index 83f6acb..da7ebe2 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -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)
{