From 8e5c8e5ff50049c7b83edbfa8d8eea48bd238964 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Sun, 28 Feb 2010 00:01:37 +0000 Subject: [PATCH] 2010-02-27 15:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/gtqtc/gtqtc.cpp ! Fix to warning: QFont::setPointSize: Point size <= 0 (0), must be greater than 0 Reported by David Macias. --- harbour/ChangeLog | 5 +++++ harbour/contrib/hbqt/gtqtc/gtqtc.cpp | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 4ea50514b3..d55ede2eed 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-02-27 15:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + * contrib/hbqt/gtqtc/gtqtc.cpp + ! Fix to warning: QFont::setPointSize: Point size <= 0 (0), must be greater than 0 + Reported by David Macias. + 2010-02-28 00:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/rddsql/sddoci/sddoci.c ! Fixed handling of dates. diff --git a/harbour/contrib/hbqt/gtqtc/gtqtc.cpp b/harbour/contrib/hbqt/gtqtc/gtqtc.cpp index 2e7e53bd09..53512714be 100644 --- a/harbour/contrib/hbqt/gtqtc/gtqtc.cpp +++ b/harbour/contrib/hbqt/gtqtc/gtqtc.cpp @@ -1675,7 +1675,6 @@ void DrawingArea::resizeEvent( QResizeEvent *event ) QPainter painter( this ); _qFont = QFont( _qFont, painter.device() ); - _qFont.setPointSize( 0 ); _qFont.setPixelSize( iFH-3 ); /* 3 in cases this is not the exact value but still... */ _qFont.setStretch( fac ); QFontMetrics fm( _qFont );