From 4344f6bc089d1c4f06949f24427f453dbba517f1 Mon Sep 17 00:00:00 2001 From: luz paz Date: Wed, 26 Aug 2020 23:06:51 -0400 Subject: [PATCH] Fix typos in source comments Found via `codespell` --- src/Mod/Path/PathScripts/PathDressupPathBoundary.py | 2 +- src/Mod/Sketcher/Gui/DrawSketchHandler.h | 2 +- src/Mod/TechDraw/Gui/MDIViewPage.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathDressupPathBoundary.py b/src/Mod/Path/PathScripts/PathDressupPathBoundary.py index 246eb6a536..29242d4be6 100644 --- a/src/Mod/Path/PathScripts/PathDressupPathBoundary.py +++ b/src/Mod/Path/PathScripts/PathDressupPathBoundary.py @@ -110,7 +110,7 @@ class DressupPathBoundary(object): boundary = obj.Stock.Shape cmd = obj.Base.Path.Commands[0] - pos = cmd.Placement.Base # bogus m/c postion to create first edge + pos = cmd.Placement.Base # bogus m/c position to create first edge bogusX = True bogusY = True commands = [cmd] diff --git a/src/Mod/Sketcher/Gui/DrawSketchHandler.h b/src/Mod/Sketcher/Gui/DrawSketchHandler.h index e009bf163b..b7cc951ccc 100644 --- a/src/Mod/Sketcher/Gui/DrawSketchHandler.h +++ b/src/Mod/Sketcher/Gui/DrawSketchHandler.h @@ -113,7 +113,7 @@ protected: void setCrosshairCursor(const char* svgName); /** - * Returns contraints icons scaled to width. + * Returns constraints icons scaled to width. **/ std::vector suggestedConstraintsPixmaps( std::vector &suggestedConstraints); diff --git a/src/Mod/TechDraw/Gui/MDIViewPage.h b/src/Mod/TechDraw/Gui/MDIViewPage.h index 8a8648a8e3..d1e17c5856 100644 --- a/src/Mod/TechDraw/Gui/MDIViewPage.h +++ b/src/Mod/TechDraw/Gui/MDIViewPage.h @@ -64,7 +64,7 @@ public: void onSelectionChanged(const Gui::SelectionChanges& msg); void preSelectionChanged(const QPoint &pos); - /// QGraphicsScene seletion routines + /// QGraphicsScene selection routines void selectQGIView(App::DocumentObject *obj, bool state); void clearSceneSelection(); void blockSelection(bool isBlocked);