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.
This commit is contained in:
Pritpal Bedi
2010-02-28 00:01:37 +00:00
parent a082c41517
commit 8e5c8e5ff5
2 changed files with 5 additions and 1 deletions

View File

@@ -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.

View File

@@ -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 );