From 1c8ffbd1f36ec2df821a06d5ff77e98d0da26919 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Sun, 9 Sep 2012 23:18:27 +0000 Subject: [PATCH] 2012-09-09 16:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/browse.prg ! Fixed: a bug where wrong parent to QInputDialog() was sent. Reported by Maurizio, thanks. --- harbour/ChangeLog | 6 +++++- harbour/contrib/hbide/browse.prg | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index a85e4bee78..054755e1d8 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,8 +16,12 @@ The license applies to all entries newer than 2009-04-28. */ +2012-09-09 16:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + * contrib/hbide/browse.prg + ! Fixed: a bug where wrong parent to QInputDialog() was sent. + Reported by Maurizio, thanks. -2012-09-07 18:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) +2012-09-09 15:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/tests/qtwvg.hbp + contrib/hbqt/tests/qtwvg.prg + Added: demonstration code to exploit the power of Qt with existing diff --git a/harbour/contrib/hbide/browse.prg b/harbour/contrib/hbide/browse.prg index 74ef1589fa..54a62b034c 100644 --- a/harbour/contrib/hbide/browse.prg +++ b/harbour/contrib/hbide/browse.prg @@ -595,7 +595,7 @@ METHOD IdeBrowseManager:execEvent( nEvent, p, p1 ) EXIT CASE __qPanelsButton_clicked__ - cPanel := hbide_fetchAString( ::qToolbar, "New...", "Name the Panel", "New Panel" ) + cPanel := hbide_fetchAString( ::qToolbar:oWidget, "New...", "Name the Panel", "New Panel" ) IF !( cPanel == "New..." ) .AND. !( cPanel == "Main" ) IF ::isPanel( cPanel ) MsgBox( "Panel: " + cPanel + ", already exists" )