From: mtn Date: Fri, 3 Dec 2010 13:41:15 +0000 (+0000) Subject: http://qa.nnov.opencascade.com/mantis/view.php?id=265 X-Git-Tag: V5_1_10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=23e3fc883a196141cb9c5ef3365427fb0cd4b37d;p=modules%2Fgui.git http://qa.nnov.opencascade.com/mantis/view.php?id=265 --- diff --git a/src/ObjBrowser/OB_Browser.cxx b/src/ObjBrowser/OB_Browser.cxx index 1bf8769f7..22c5867d8 100755 --- a/src/ObjBrowser/OB_Browser.cxx +++ b/src/ObjBrowser/OB_Browser.cxx @@ -38,6 +38,8 @@ #include #include #include +// MTN. Fix for kallisto internal 265 +#include #include @@ -864,12 +866,16 @@ void OB_Browser::setModified() */ void OB_Browser::onExpandAll() { +// MTN. Fix for kallisto internal 265 + QApplication::setOverrideCursor( Qt::WaitCursor ); QModelIndexList indexes = selectedIndexes(); QModelIndex index; foreach ( index, indexes ) { myView->expandAll( index ); } +// MTN. Fix for kallisto internal 265 + QApplication::restoreOverrideCursor(); } /*! @@ -879,12 +885,16 @@ void OB_Browser::onExpandAll() */ void OB_Browser::onCollapseAll() { +// MTN. Fix for kallisto internal 265 + QApplication::setOverrideCursor( Qt::WaitCursor ); QModelIndexList indexes = selectedIndexes(); QModelIndex index; foreach ( index, indexes ) { myView->collapseAll( index ); } +// MTN. Fix for kallisto internal 265 + QApplication::restoreOverrideCursor(); } /*!