Skip to content

Commit 0359901

Browse files
authored
Codespell fixes (#2147)
1 parent 454439c commit 0359901

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/core/map_printer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ class MapPrinterPageFormat
9797
/** The total dimensions of the page in mm. */
9898
QSizeF paper_dimensions;
9999

100-
/** The horizontal overlap in mm of pages when the output covers muliple pages. */
100+
/** The horizontal overlap in mm of pages when the output covers multiple pages. */
101101
qreal h_overlap;
102102

103-
/** The vertival overlap in mm of pages when the output covers muliple pages. */
103+
/** The vertival overlap in mm of pages when the output covers multiple pages. */
104104
qreal v_overlap;
105105
};
106106

src/core/objects/object.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1929,7 +1929,7 @@ double PathObject::calcBezierPointDeletionRetainingShapeCost(MapCoord p0, MapCoo
19291929
void PathObject::calcBezierPointDeletionRetainingShapeOptimization(MapCoord p0, MapCoord p1, MapCoord p2, MapCoord q0, MapCoord q1, MapCoord q2, MapCoord q3, double& out_pfactor, double& out_qfactor)
19301930
{
19311931
auto const gradient_abort_threshold_sq = 0.0025; // if the gradient magnitude is lower than this over num_abort_steps step, the optimization is aborted
1932-
auto const decrease_abort_threshold = 0.004; // if the cost descrease if lower than this over num_abort_steps step, the optimization is aborted
1932+
auto const decrease_abort_threshold = 0.004; // if the cost decrease is lower than this over num_abort_steps step, the optimization is aborted
19331933
const int num_abort_steps = 2;
19341934
auto const derivative_delta = 0.05;
19351935
const int num_tested_step_sizes = 5;

src/gui/widgets/color_list_widget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ void ColorListWidget::addRow(int row)
407407
color_table->setItem(row, col, item);
408408
}
409409

410-
#if 0 // Interfers with translation
410+
#if 0 // Interferes with translation
411411
// Name
412412
item = color_table->item(row, 1);
413413
item->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled | Qt::ItemIsEditable);

src/gui/widgets/color_wheel_widget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ namespace OpenOrienteering {
5050
/**
5151
* \brief Display an analog widget that allows the selection of a HSV color
5252
*
53-
* It has an outer wheel to select the Hue and an intenal square to select
53+
* It has an outer wheel to select the Hue and an internal square to select
5454
* Saturation and Lightness.
5555
*/
5656
class ColorWheel : public QWidget

src/gui/widgets/mapper_proxystyle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ namespace OpenOrienteering {
4949
* MapperProxyStyle customizes the platform's base style.
5050
*
5151
* It supports the implementation of missing UI elements, and
52-
* it adjustes the size of some elements to more practical values.
52+
* it adjusts the size of some elements to more practical values.
5353
*/
5454
class MapperProxyStyle : public QProxyStyle
5555
{

src/templates/template_table_model.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class TemplateTableModel : public QAbstractTableModel
7171

7272

7373
/**
74-
* Sets the header decorator item of the visibility columnn.
74+
* Sets the header decorator item of the visibility column.
7575
*/
7676
void setCheckBoxDecorator(QVariant decorator);
7777

src/tools/draw_circle_tool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Q_OBJECT
7373
MapCoordF circle_start_pos_map;
7474
QPoint cur_pos;
7575
MapCoordF cur_pos_map;
76-
MapCoordF opposite_pos_map; // position on cirlce/ellipse opposite to click_pos_map
76+
MapCoordF opposite_pos_map; // position on circle/ellipse opposite to click_pos_map
7777
bool dragging = false;
7878
bool start_from_center = false;
7979
bool first_point_set = false;

0 commit comments

Comments
 (0)