From 2e468029c8f1353782e418f05aeb7da882539520 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 14 Dec 2022 14:28:23 +0300 Subject: [PATCH] Fix typos and clean code --- src/LightApp/LightApp_Application.cxx | 1 - src/OCCViewer/OCCViewer_ViewModel.cxx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 */ -- 2.39.2