From: ouv Date: Wed, 17 Aug 2005 09:57:17 +0000 (+0000) Subject: SVTK_View name corrected X-Git-Tag: BR-D5-38-2003_D2005-12-09~50 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=34aec394b11f3e709b6b58ebcf0d6602344eb7ed;p=modules%2Fgui.git SVTK_View name corrected --- diff --git a/src/SVTK/SVTK_ViewWindow.cxx b/src/SVTK/SVTK_ViewWindow.cxx index d23fe6ddd..368090079 100755 --- a/src/SVTK/SVTK_ViewWindow.cxx +++ b/src/SVTK/SVTK_ViewWindow.cxx @@ -53,7 +53,7 @@ SVTK_ViewWindow QSplitter* aSplitter = new QSplitter( Qt::Vertical, aCentralWidget ); // Create an interactor. - myView = new SVTK_View( aSplitter, "TopView" ); + myView = new SVTK_View( aSplitter, "SVTK_View" ); /* SVTK_View* bottomView = new SVTK_View( aSplitter, "BottomView" ); bottomView->getInteractor()->SetInteractorStyle( myInteractorStyle ); @@ -592,8 +592,7 @@ QImage SVTK_ViewWindow ::dumpView() { - QPixmap px = QPixmap::grabWindow( myView->winId() ); - return px.convertToImage(); + return myView->dumpView(); } //----------------------------------------------------------------------------