diff --git a/cMake/FreeCAD_Helpers/SetupQt.cmake b/cMake/FreeCAD_Helpers/SetupQt.cmake index 230d4198a0..8a1d76c253 100644 --- a/cMake/FreeCAD_Helpers/SetupQt.cmake +++ b/cMake/FreeCAD_Helpers/SetupQt.cmake @@ -3,7 +3,7 @@ find_package(Qt5Core REQUIRED) set(CMAKE_AUTOMOC TRUE) -# For FreeCAD 0.20, pegged to Ubutu 18.04 LTS: +# For FreeCAD 0.20, pegged to Ubuntu 18.04 LTS: if(${Qt5Core_VERSION} VERSION_LESS "5.9") message (FATAL_ERROR "FreeCAD v0.20 requires Qt5 5.9 or later") endif() diff --git a/src/App/DocumentObserver.h b/src/App/DocumentObserver.h index b93373ae2b..1cde5f51d5 100644 --- a/src/App/DocumentObserver.h +++ b/src/App/DocumentObserver.h @@ -222,7 +222,7 @@ private: }; /** - * The PropertyLinkT class is a helper class to create Python statements for proprty links. + * The PropertyLinkT class is a helper class to create Python statements for property links. */ class AppExport PropertyLinkT { diff --git a/src/Gui/Application.cpp b/src/Gui/Application.cpp index eb3ef7a271..5c27fa2436 100644 --- a/src/Gui/Application.cpp +++ b/src/Gui/Application.cpp @@ -2326,7 +2326,7 @@ void Application::runApplication(void) } catch (...) { // catching nasty stuff coming out of the event loop - Base::Console().Error("Event loop left through unknwown unhandled exception\n"); + Base::Console().Error("Event loop left through unknown unhandled exception\n"); App::Application::destructObserver(); throw; } diff --git a/src/Gui/DAGView/DAGModel.cpp b/src/Gui/DAGView/DAGModel.cpp index d299c0a14a..49521a8b23 100644 --- a/src/Gui/DAGView/DAGModel.cpp +++ b/src/Gui/DAGView/DAGModel.cpp @@ -383,7 +383,7 @@ void Model::selectionChanged(const SelectionChanges& msg) } }; - //lamda for clearing selections. + //lambda for clearing selections. auto clearSelection = [this, highlightConnectorOff]() { BGL_FORALL_VERTICES(currentVertex, *theGraph, Graph) @@ -395,7 +395,7 @@ void Model::selectionChanged(const SelectionChanges& msg) } }; - //lamda for getting rectangle. + //lambda for getting rectangle. auto getRectangle = [this](const char *in) { assert(in); diff --git a/src/Gui/ViewProviderDragger.cpp b/src/Gui/ViewProviderDragger.cpp index bf2bc001e1..8c5229a2c2 100644 --- a/src/Gui/ViewProviderDragger.cpp +++ b/src/Gui/ViewProviderDragger.cpp @@ -286,7 +286,7 @@ void ViewProviderDragger::updatePlacementFromDragger(ViewProviderDragger* sudoTh return; assert(numberOfFieldChanged == 1); - //helper lamdas. + //helper lambdas. auto getVectorX = [&pMatrix]() {return Base::Vector3d(pMatrix[0], pMatrix[4], pMatrix[8]);}; auto getVectorY = [&pMatrix]() {return Base::Vector3d(pMatrix[1], pMatrix[5], pMatrix[9]);}; auto getVectorZ = [&pMatrix]() {return Base::Vector3d(pMatrix[2], pMatrix[6], pMatrix[10]);}; diff --git a/src/Mod/Path/App/AreaParams.h b/src/Mod/Path/App/AreaParams.h index 43eaec676c..55a96ec762 100644 --- a/src/Mod/Path/App/AreaParams.h +++ b/src/Mod/Path/App/AreaParams.h @@ -112,7 +112,7 @@ ((double,angle,Angle,45,"Pattern angle in degree",App::PropertyAngle))\ ((double,angle_shift,AngleShift,0.0,"Pattern angle shift for each section", App::PropertyAngle))\ ((double,shift,Shift,0.0,"Pattern shift distance for each section.\n"\ - "The pocket patter will be shifted in orthogonal direction by this amount for each section.\n"\ + "The pocket pattern will be shifted in orthogonal direction by this amount for each section.\n"\ "This gives a 3D pattern mainly for 3D printing. The shift only applies to 'Offset', 'Grid'\n"\ "and 'Triangle'", App::PropertyDistance)) diff --git a/src/Mod/TechDraw/App/Preferences.cpp b/src/Mod/TechDraw/App/Preferences.cpp index 8080e39ade..f3a3c02601 100644 --- a/src/Mod/TechDraw/App/Preferences.cpp +++ b/src/Mod/TechDraw/App/Preferences.cpp @@ -40,7 +40,7 @@ #include "Preferences.h" //getters for parameters used in multiple places. -//ensure this is in sync with preference page uis +//ensure this is in sync with preference page user interfaces using namespace TechDraw; diff --git a/src/Mod/TechDraw/Gui/PreferencesGui.cpp b/src/Mod/TechDraw/Gui/PreferencesGui.cpp index aa6ba842bf..52cedba0b3 100644 --- a/src/Mod/TechDraw/Gui/PreferencesGui.cpp +++ b/src/Mod/TechDraw/Gui/PreferencesGui.cpp @@ -41,7 +41,7 @@ #include "PreferencesGui.h" //getters for parameters used in multiple places. -//ensure this is in sync with preference page uis +//ensure this is in sync with preference page user interfaces using namespace TechDrawGui; using namespace TechDraw;