-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2023 CEA, EDF, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
PVViewer_ViewManager::PVViewer_ViewManager(SUIT_Study* study, SUIT_Desktop* desktop)
: SUIT_ViewManager( study, desktop, new PVViewer_Viewer() )
{
- MESSAGE("PVViewer - view manager created ...")
+ MESSAGE("PVViewer - view manager created ...");
setTitle( tr( "PARAVIEW_VIEW_TITLE" ) );
// Initialize minimal paraview stuff (if not already done)
std::stringstream msg;
// Try to connect to the external PVServer - gives priority to an externally specified URL:
- QString serverUrlEnv = getenv("PARAVIEW_PVSERVER_URL");
+ QString serverUrlEnv = Qtx::getenv("PARAVIEW_PVSERVER_URL");
std::string serverUrl;
if (!serverUrlEnv.isEmpty())
{