summaryrefslogtreecommitdiffstats
path: root/chalk/plugins
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:19:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:19:03 +0900
commitca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d (patch)
tree87ee723e3cd7728117a5839a94101f5499b42623 /chalk/plugins
parentb05a12a13d0f6d1eabdc6c32fe629f4c3c89d236 (diff)
downloadkoffice-ca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d.tar.gz
koffice-ca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'chalk/plugins')
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_text.cpp b/chalk/plugins/tools/defaulttools/kis_tool_text.cpp
index 1a2687f1..d1727f39 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_text.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_text.cpp
@@ -101,7 +101,7 @@ void KisToolText::buttonRelease(KisButtonReleaseEvent *e)
}
TQFontMetrics metrics(m_font);
- TQRect boundingRect = TQT_TQRECT_OBJECT(metrics.boundingRect(text)).normalize();
+ TQRect boundingRect = metrics.boundingRect(text).normalize();
int xB = - boundingRect.x();
int yB = - boundingRect.y();