From 23e3fc883a196141cb9c5ef3365427fb0cd4b37d Mon Sep 17 00:00:00 2001 From: mtn Date: Fri, 3 Dec 2010 13:41:15 +0000 Subject: [PATCH] http://qa.nnov.opencascade.com/mantis/view.php?id=265 --- src/ObjBrowser/OB_Browser.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) 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(); } /*! -- 2.39.2