2010-09-13 12:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp
    ! Reverted back last commit, was generating GPF.
      This is subject to further investigation as I was trying 
      to locate the cause of always increasing memory consumption.
This commit is contained in:
Pritpal Bedi
2010-09-13 19:33:11 +00:00
parent 5a7fe57b41
commit 17a7fd976a
2 changed files with 8 additions and 8 deletions

View File

@@ -16,6 +16,12 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-09-13 12:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp
! Reverted back last commit, was generating GPF.
This is subject to further investigation as I was trying
to locate the cause of always increasing memory consumption.
2010-09-13 20:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/win/watcom.mk
* removed .exe suffix from executed tools.

View File

@@ -78,12 +78,12 @@ QVariant hbqt_fetchData( PHB_ITEM block, int type, int role, int par1, int par2
PHB_ITEM p3 = hb_itemPutNI( NULL, par2 );
PHB_ITEM ret = hb_vmEvalBlockV( block, 4, p0, p1, p2, p3 );
#if 0
hb_itemRelease( p0 );
hb_itemRelease( p1 );
hb_itemRelease( p2 );
hb_itemRelease( p3 );
#endif
if( hb_itemType( ret ) & HB_IT_STRING )
{
vv = hb_itemGetCPtr( ret );
@@ -126,12 +126,6 @@ QVariant hbqt_fetchData( PHB_ITEM block, int type, int role, int par1, int par2
}
hb_vmRequestRestore();
hb_itemRelease( ret );
hb_itemRelease( p0 );
hb_itemRelease( p1 );
hb_itemRelease( p2 );
hb_itemRelease( p3 );
}
return vv;