Salome HOME
Correct misprint
authorvsv <vsv@opencascade.com>
Mon, 27 Aug 2018 15:36:32 +0000 (18:36 +0300)
committervsv <vsv@opencascade.com>
Mon, 27 Aug 2018 15:36:48 +0000 (18:36 +0300)
src/SHAPERGUI/SHAPERGUI.cpp

index 9fe4223b1489f22dbb23155563de1956701be883..deffb4dcbd3037ebc804054bb5a75f93e2416c08 100644 (file)
@@ -207,7 +207,7 @@ bool SHAPERGUI::activateModule(SUIT_Study* theStudy)
       desktop()->tabifyDockWidget(aObjDoc, myWorkshop->propertyPanel());
     }
 
-    DockWidget* aInspection = myWorkshop->inspectionPanel();
+    QDockWidget* aInspection = myWorkshop->inspectionPanel();
     if (aInspection) {
       QAction* aViewAct = aInspection->toggleViewAction();
       aViewAct->setEnabled(true);
@@ -313,7 +313,7 @@ bool SHAPERGUI::deactivateModule(SUIT_Study* theStudy)
     QAction* aViewAct = aObjDoc->toggleViewAction();
     aViewAct->setEnabled(false);
   }
-  DockWidget* aInspection = myWorkshop->inspectionPanel();
+  QDockWidget* aInspection = myWorkshop->inspectionPanel();
   if (aInspection) {
     aInspection->setVisible(false);
     QAction* aViewAct = aInspection->toggleViewAction();