From e63beeb5bdb82987b1e00bc35178667786fbad48 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 16:20:48 -0600 Subject: Fix incorrect conversion --- qtjava/javalib/examples/qfd/FontDisplayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtjava/javalib/examples/qfd') diff --git a/qtjava/javalib/examples/qfd/FontDisplayer.java b/qtjava/javalib/examples/qfd/FontDisplayer.java index 689dbb44..bbe71f07 100644 --- a/qtjava/javalib/examples/qfd/FontDisplayer.java +++ b/qtjava/javalib/examples/qfd/FontDisplayer.java @@ -42,7 +42,7 @@ public TQSize sizeHint() 16*cellSize().height()+2*(margin()+frameWidth()) ); } -TTQSize cellSize() +TQSize cellSize() { TQFontMetrics fm = fontMetrics(); return new TQSize( fm.maxWidth(), fm.lineSpacing()+1 ); -- cgit v1.2.1