From: jfa Date: Wed, 14 Dec 2022 11:28:23 +0000 (+0300) Subject: Fix typos and clean code X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2e468029c8f1353782e418f05aeb7da882539520;p=modules%2Fgui.git Fix typos and clean code --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 197af17cb..e84d52a59 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -3676,7 +3676,6 @@ void LightApp_Application::preferencesChanged( const QString& sec, const QString #endif #ifndef DISABLE_OCCVIEWER - //if ( sec == QString( "OCCViewer" ) && param == QString( "viewcube_color" ) ) if ( sec == QString( "OCCViewer" ) && param.contains( "viewcube" ) ) { QList lst; diff --git a/src/OCCViewer/OCCViewer_ViewModel.cxx b/src/OCCViewer/OCCViewer_ViewModel.cxx index 0cd0e507d..f1f4b9653 100644 --- a/src/OCCViewer/OCCViewer_ViewModel.cxx +++ b/src/OCCViewer/OCCViewer_ViewModel.cxx @@ -1333,7 +1333,7 @@ void OCCViewer_Viewer::setTrihedronShown( const bool on ) } /*! - Sets visibility state of trihedron + Sets visibility state of view cube \param on - new state */