2012-06-28 12:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpfiledialog.prg
! Fixed: memory leak. Please read previously documented here
how a child can be destroyed properly with a temp parent.
This commit is contained in:
@@ -16,6 +16,11 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2012-06-28 12:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbxbp/xbpfiledialog.prg
|
||||
! Fixed: memory leak. Please read previously documented here
|
||||
how a child can be destroyed properly with a temp parent.
|
||||
|
||||
2012-06-28 11:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbxbp/xbpfiledialog.prg
|
||||
! Fixed: a regression where QApplication():focusWidget()
|
||||
|
||||
@@ -124,7 +124,6 @@ METHOD XbpFileDialog:create( oParent, oOwner, aPos )
|
||||
#endif
|
||||
|
||||
::oWidget:setOption( QFileDialog_DontResolveSymlinks, .t. )
|
||||
::oWidget:setAttribute( Qt_WA_DeleteOnClose, .f. )
|
||||
|
||||
::postCreate()
|
||||
|
||||
@@ -270,7 +269,8 @@ METHOD XbpFileDialog:open( cDefaultFile, lCenter, lAllowMultiple, lCreateNewFile
|
||||
::connect()
|
||||
nResult := ::oWidget:exec()
|
||||
::disconnect()
|
||||
::oWidget:close()
|
||||
::oWidget:setParent( QWidget() )
|
||||
|
||||
IF hb_isObject( qFocus )
|
||||
qFocus:setFocus( 0 )
|
||||
ENDIF
|
||||
@@ -324,6 +324,8 @@ METHOD XbpFileDialog:saveAs( cDefaultFile, lFileList, lCenter )
|
||||
::connect()
|
||||
nResult := ::oWidget:exec()
|
||||
::disconnect()
|
||||
::oWidget:setParent( QWidget() )
|
||||
|
||||
IF hb_isObject( qFocus )
|
||||
qFocus:setFocus( 0 )
|
||||
ENDIF
|
||||
|
||||
Reference in New Issue
Block a user