summaryrefslogtreecommitdiffstats
path: root/blinken/src/fontutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'blinken/src/fontutils.cpp')
-rw-r--r--blinken/src/fontutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/blinken/src/fontutils.cpp b/blinken/src/fontutils.cpp
index 10d3bc0d..1b4b3b2c 100644
--- a/blinken/src/fontutils.cpp
+++ b/blinken/src/fontutils.cpp
@@ -24,8 +24,8 @@ int fontUtils::fontSize(TQPainter &p, const TQString &s1, int w, int h)
TQFont f = p.font();
f.setPointSize(size);
p.setFont(f);
- aux1 = p.boundingRect(TQRect(), Qt::AlignAuto, s1);
- if (aux1.width() > w || aux1.height() > h) size = QMIN(w * size / aux1.width(), h * size / aux1.height());
+ aux1 = p.boundingRect(TQRect(), TQt::AlignAuto, s1);
+ if (aux1.width() > w || aux1.height() > h) size = TQMIN(w * size / aux1.width(), h * size / aux1.height());
else done = true;
}