From 34aec394b11f3e709b6b58ebcf0d6602344eb7ed Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 17 Aug 2005 09:57:17 +0000 Subject: [PATCH] SVTK_View name corrected --- src/SVTK/SVTK_ViewWindow.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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(); } //---------------------------------------------------------------------------- -- 2.39.2