summaryrefslogtreecommitdiffstats
path: root/arts/builder/drawutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/builder/drawutils.cpp')
-rw-r--r--arts/builder/drawutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arts/builder/drawutils.cpp b/arts/builder/drawutils.cpp
index 74dac440..c2c0ef3f 100644
--- a/arts/builder/drawutils.cpp
+++ b/arts/builder/drawutils.cpp
@@ -26,7 +26,7 @@ TQString DrawUtils::cropText(TQPainter *p, TQString text, int maxlen, int& textw
TQString label = text;
while(p->fontMetrics().width(label) > maxlen && label.length() > 0) {
- int i = label.tqfind('_');
+ int i = label.find('_');
if(i != -1)
label = label.mid(i+1);