]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Remove deprecated usage of pqOptions
authorMathieu Westphal <mathieu.westphal@kitware.com>
Thu, 22 Feb 2024 16:35:37 +0000 (11:35 -0500)
committerMathieu Westphal <mathieu.westphal@kitware.com>
Thu, 22 Feb 2024 16:35:37 +0000 (11:35 -0500)
src/PVViewer/PVViewer_Core.cxx

index fc9e60d477eef7bdda835ba5f009efee20543852..caf11d16a8d7350f01565974e6ffe89d3e9cc40f 100644 (file)
@@ -35,7 +35,6 @@
 
 #include <string>
 
-#include <pqOptions.h>
 #include <pqSettings.h>
 #include <pqPVApplicationCore.h>
 #include <pqTabbedMultiViewWidget.h>
@@ -97,12 +96,6 @@ bool PVViewer_Core::ParaViewInitAppCore()
       for (int i = 0; i < argc; i++)
         free(argv[i]);
       delete[] argv;
-      if (MyCoreApp->getOptions()->GetHelpSelected() ||
-          MyCoreApp->getOptions()->GetUnknownArgument() ||
-          MyCoreApp->getOptions()->GetErrorMessage() ||
-          MyCoreApp->getOptions()->GetTellVersion()) {
-          return false;
-      }
   }
   return true;
 }