XRInterface plugin uses Qt element's texts for conditions
In XRInterface/Plugin/pqXRInterfaceDockPanel.cxx
, the plugin uses three times Qt element labels for comparison in conditions (lines 282, 319 and 349 in latest master). Could it be refactored ?
if (this->Internals->sendToXRButton->text() == "Send to XR") // Line 282
if (this->Internals->attachToCurrentViewButton->text() == "Attach to Current View") // Line 319
if (this->Internals->cConnectButton->text() == "Connect") // Line 349
This cause problems for MR !5934 (merged) and will cause problem in the future: as the UI file may be translated during the localization process, these comparison will break the code.