X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPVViewer%2FPVViewer_Behaviors.cxx;h=66f22e2c682a29d0b21ee754d53e9f66f14b9cf0;hb=d0b0c10e5649e0338079df4a53cf95044792d989;hp=ddaae388f786fb09c1c78b37bca91b09128b8b4d;hpb=5e2e560a41de6921538a5c5e81ada14ac70926f1;p=modules%2Fgui.git diff --git a/src/PVViewer/PVViewer_Behaviors.cxx b/src/PVViewer/PVViewer_Behaviors.cxx index ddaae388f..66f22e2c6 100644 --- a/src/PVViewer/PVViewer_Behaviors.cxx +++ b/src/PVViewer/PVViewer_Behaviors.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2014-2022 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -60,7 +60,7 @@ PVViewer_Behaviors::PVViewer_Behaviors(QMainWindow * parent) * This method should be updated at each new version of ParaView with what is found in * Qt/ApplicationComponents/pqParaViewBehaviors.cxx */ -void PVViewer_Behaviors::instanciateMinimalBehaviors(QMainWindow * desk) +void PVViewer_Behaviors::instanciateMinimalBehaviors(QMainWindow * /*desk*/) { if (BehaviorLoadingLevel < 1) { @@ -72,9 +72,7 @@ void PVViewer_Behaviors::instanciateMinimalBehaviors(QMainWindow * desk) // Register standard types of view-frame actions. pgm->addInterface(new pqStandardViewFrameActionsImplementation(pgm)); - // Load plugins distributed with application. - pqApplicationCore::instance()->loadDistributedPlugins(); - + new pqPipelineContextMenuBehavior(this); new pqDefaultViewBehavior(this); // shows a 3D view as soon as a server connection is made new pqAlwaysConnectedBehavior(this); // client always connected to a server new pqVerifyRequiredPluginBehavior(this); @@ -105,7 +103,7 @@ void PVViewer_Behaviors::instanciateAllBehaviors(QMainWindow * desk) //new pqQtMessageHandlerBehavior(this); // THIS ONE TO EXCLUDE !! see comment above new pqDataTimeStepBehavior(this); new pqSpreadSheetVisibilityBehavior(this); - new pqPipelineContextMenuBehavior(this); + //new pqPipelineContextMenuBehavior(this); new pqUndoRedoBehavior(this); new pqAutoLoadPluginXMLBehavior(this); // auto load plugins GUI stuff new pqPluginDockWidgetsBehavior(desk);