diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 691c4964e3..59b28bab26 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2012-06-22 21:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + * contrib/hbqt/qtgui/qth/QClipboard.qth + ! Fixed: constructor respecting previous commit. + 2012-06-22 15:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Optimized to not add code for constructors which do not diff --git a/harbour/contrib/hbqt/qtgui/qth/QClipboard.qth b/harbour/contrib/hbqt/qtgui/qth/QClipboard.qth index ee02c2a570..744a347926 100644 --- a/harbour/contrib/hbqt/qtgui/qth/QClipboard.qth +++ b/harbour/contrib/hbqt/qtgui/qth/QClipboard.qth @@ -31,8 +31,7 @@ Detached = yes */ HB_FUNC( QT_QCLIPBOARD ) { - //__HB_RETPTRGC__( QApplication::clipboard() ); - pObj = QApplication::clipboard() ; + hb_itemReturnRelease( hbqt_bindGetHbObject( NULL, ( void* ) QApplication::clipboard(), "HB_QCLIPBOARD", NULL, HBQT_BIT_NONE ) ); }