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 17:32:04 +0900
commit21ca8e5a7c13cd5ac21c172dc1c6b1e9eeb4a455 (patch)
tree67b53db10a82ebc16f9110739275c2f3945791b4
parent33583365e5dec62d38d220a7dec92709e906e973 (diff)
downloadkdiff3-21ca8e5a7c13cd5ac21c172dc1c6b1e9eeb4a455.tar.gz
kdiff3-21ca8e5a7c13cd5ac21c172dc1c6b1e9eeb4a455.zip
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d89d2afab3da72366daa6ee4b379813bc8b29467)
-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)
{