From 17ee6ad00d9ee9e8988fffd2050ba597fb521ca2 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Sat, 23 Oct 2010 17:32:28 +0000 Subject: [PATCH] 2010-10-23 10:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg ! Fixed: QMdiSubWindow => QMdiSubWindow * global replacement was wrong. --- harbour/ChangeLog | 5 +++++ harbour/contrib/hbide/idebrowse.prg | 3 ++- harbour/contrib/hbide/idedocks.prg | 3 +-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index e1ba9478af..e81bca3f42 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,11 @@ The license applies to all entries newer than 2009-04-28. */ +2010-10-23 10:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + * contrib/hbide/idebrowse.prg + * contrib/hbide/idedocks.prg + ! Fixed: QMdiSubWindow => QMdiSubWindow * global replacement was wrong. + 2010-10-23 18:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbhpdf/harupdf.c ! Newly added 2.2.0 wrapper code protected with version guards. diff --git a/harbour/contrib/hbide/idebrowse.prg b/harbour/contrib/hbide/idebrowse.prg index ca49c427ec..306d6e8e34 100644 --- a/harbour/contrib/hbide/idebrowse.prg +++ b/harbour/contrib/hbide/idebrowse.prg @@ -1822,7 +1822,8 @@ METHOD IdeBrowse:buildMdiWindow() ::nID := ++nID - ::qMdi := QMdiSubWindow *( ::oDlg:oWidget ) +// ::qMdi := QMdiSubWindow *( ::oDlg:oWidget ) + ::qMdi := QMdiSubWindow( ::oDlg:oWidget ) // ::qMdi:setWidget( ::oWnd:oWidget ) ::oPanel:qWidget:addSubWindow( ::qMdi ) diff --git a/harbour/contrib/hbide/idedocks.prg b/harbour/contrib/hbide/idedocks.prg index fcb487c0c2..6def27f922 100644 --- a/harbour/contrib/hbide/idedocks.prg +++ b/harbour/contrib/hbide/idedocks.prg @@ -1097,8 +1097,7 @@ METHOD IdeDocks:buildViewWidget( cView ) LOCAL oFrame, qTBtnClose, qDrop, qMdi, n IF ::oIde:lCurEditsMdi - - qMdi := QMdiSubWindow *( ::oStackedWidget:oWidget ) + qMdi := QMdiSubWindow( ::oStackedWidget:oWidget ) qMdi:setWindowTitle( cView ) qMdi:setObjectName( cView ) IF cView == "Stats"