X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ViewerProxy.cpp;h=fee0419ddd6dfb31fbd19fce786d7fceee121325;hb=f57633e7e47026f501b94c38989e39450a946ce4;hp=ad1685d524130ac6a234703cbb5276c8f7aacf9e;hpb=8dc74f82810d5f597b78633b457efb0ef4f89f9f;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ViewerProxy.cpp b/src/XGUI/XGUI_ViewerProxy.cpp index ad1685d52..fee0419dd 100644 --- a/src/XGUI/XGUI_ViewerProxy.cpp +++ b/src/XGUI/XGUI_ViewerProxy.cpp @@ -7,7 +7,7 @@ #include "XGUI_SalomeConnector.h" XGUI_ViewerProxy::XGUI_ViewerProxy(XGUI_Workshop* theParent) - : XGUI_SalomeViewer(theParent), + : ModuleBase_IViewer(theParent), myWorkshop(theParent) { } @@ -65,7 +65,7 @@ void XGUI_ViewerProxy::fitAll() void XGUI_ViewerProxy::connectToViewer() { if (myWorkshop->isSalomeMode()) { - XGUI_SalomeViewer* aViewer = myWorkshop->salomeConnector()->viewer(); + ModuleBase_IViewer* aViewer = myWorkshop->salomeConnector()->viewer(); connect(aViewer, SIGNAL(lastViewClosed()), this, SIGNAL(lastViewClosed())); connect(aViewer, SIGNAL(tryCloseView()), this, SIGNAL(tryCloseView()));