Salome HOME
Splash screen was implemented. Changes in packages SUIT and Session are integrated.
[modules/gui.git] / src / Qtx / QtxDockAction.cxx
index 7e0187d8570224ddedfc0f24c137e291829d3fb9..a4c95128ed8c70bc2692770b9f34a3cbb062b11e 100755 (executable)
@@ -520,7 +520,7 @@ void QtxDockAction::onDockWindowPositionChanged( QDockWindow* dw )
 
 bool QtxDockAction::event( QEvent* e )
 {
-  if ( e->type() == AutoAdd )
+  if ( e->type() == (int)AutoAdd )
   {
     QCustomEvent* ce = (QCustomEvent*)e;
     QDockWindow* dw = (QDockWindow*)ce->data();
@@ -845,6 +845,8 @@ void QtxDockAction::loadPlaceArea( const int place, QMainWindow* mw, QDockArea*
   if ( !area )
     return;
 
+  qApp->processEvents();
+
   for ( QPtrListIterator<QDockWindow> itr( dockList ); itr.current(); ++itr )
   {
     QDockWindow* dw = itr.current();