X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FXGUI%2FXGUI_ViewerProxy.cpp;h=fee0419ddd6dfb31fbd19fce786d7fceee121325;hb=f57633e7e47026f501b94c38989e39450a946ce4;hp=ad1685d524130ac6a234703cbb5276c8f7aacf9e;hpb=cd9217d7e87997ec8bc150a6d8c389e742ca0f84;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()));