[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/lib/kofficecore
From:       David Faure <faure () kde ! org>
Date:       2006-02-14 15:26:32
Message-ID: 1139930792.705257.22545.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 509387 by dfaure:

Do the raise() before canvasAddChild so that krita can do scrollbars->raise() in canvasAddChild.


 M  +3 -3      KoView.cpp  


--- trunk/koffice/lib/kofficecore/KoView.cpp #509386:509387
@@ -733,6 +733,9 @@
   view->setZoom( parentView()->zoom() * QMAX(child->xScaling(), child->yScaling()) );
 
   m_frame->setView( view );
+  m_frame->show();
+  m_frame->raise();
+
   parentView()->canvasAddChild( this );
 
 
@@ -760,9 +763,6 @@
   // Setting the frameGeometry is done in setInitialFrameGeometry, which is
   // also called right after activation.
 
-  m_frame->show();
-  m_frame->raise();
-
   connect( view, SIGNAL( activated( bool ) ),
            parentView(), SLOT( slotChildActivated( bool ) ) );
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic