diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 3e2ef6ded4..7332e15666 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,12 @@ The license applies to all entries newer than 2009-04-28. */ +2011-04-06 18:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + * contrib/hbqt/qtcore/hbqt_hbqevents.cpp + ! QEvent:Close now returns TRUE to the calling loop. + Now this is the responsibility of the user code to + set an event to be accepted or ignored. + 2011-04-06 17:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/CREDITS.txt ! Updated: credits. diff --git a/harbour/contrib/hbqt/qtcore/hbqt_hbqevents.cpp b/harbour/contrib/hbqt/qtcore/hbqt_hbqevents.cpp index 744d730b29..10557474ee 100644 --- a/harbour/contrib/hbqt/qtcore/hbqt_hbqevents.cpp +++ b/harbour/contrib/hbqt/qtcore/hbqt_hbqevents.cpp @@ -232,7 +232,7 @@ bool HBQEvents::eventFilter( QObject * object, QEvent * event ) } if( eventtype == QEvent::Close ) { - event->ignore(); + return true; } } }