2009-11-10 11:55 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)

* contrib/hbxbp/xbpmenubar.prg
    ! Fixed diuble freeing of signals.
This commit is contained in:
Pritpal Bedi
2009-11-10 19:55:47 +00:00
parent aec8ebcb85
commit c931ffa1d3
2 changed files with 5 additions and 5 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-11-10 11:55 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpmenubar.prg
! Fixed diuble freeing of signals.
2009-11-10 19:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcdpreg.h
* use macro instead of direct value
@@ -75,7 +79,7 @@
* harbour/src/codepage/cpgr437.c
* updated for new format
2009-11-09 08:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
2009-11-10 08:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_slots.cpp
* contrib/hbxbp/xbpgeneric.prg
* contrib/hbxbp/xbpmenubar.prg

View File

@@ -220,12 +220,8 @@ METHOD xbpMenuBar:configure( oParent, aPresParams, lVisible )
METHOD xbpMenuBar:destroy()
LOCAL i
// ::disconnect()
FOR i := 1 TO len( ::aMenuItems )
IF !empty( ::aMenuItems[ i,5 ] )
QT_DISCONNECT_SIGNAL( QT_PTROF( ::aMenuItems[ i, 5 ] ), "triggered(bool)" )
QT_DISCONNECT_SIGNAL( QT_PTROF( ::aMenuItems[ i, 5 ] ), "hovered()" )
::aMenuItems[ i, 5 ]:pPtr := 0
::aMenuItems[ i, 5 ] := NIL
ENDIF