Skip to content

Commit 461bce3

Browse files
committed
Fix spelling: compatability -> compatibility
1 parent d3b2fba commit 461bce3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libkoviz/bookview_table.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void BookTableView::paintEvent(QPaintEvent *event)
7070
}
7171
QStringList labels = _columnLabels();
7272

73-
// Define this lambda for Qt compatability
73+
// Define this lambda for Qt compatibility
7474
auto getHorizontalAdvance = [&fm](const QString &text) {
7575
#if (QT_VERSION >= QT_VERSION_CHECK(5, 11, 0))
7676
return fm.horizontalAdvance(text);
@@ -154,7 +154,7 @@ void BookTableView::paintEvent(QPaintEvent *event)
154154
painter.setPen(penTxt);
155155
QString s;
156156

157-
// Lambda for Qt compatability
157+
// Lambda for Qt compatibility
158158
auto getHorizontalAdvance = [&fm](const QString &text) {
159159
#if (QT_VERSION >= QT_VERSION_CHECK(5, 11, 0))
160160
return fm.horizontalAdvance(text);
@@ -456,7 +456,7 @@ QModelIndex BookTableView::indexAt(const QPoint &point) const
456456
return idx; // invalid idx
457457
}
458458

459-
// Lambda for Qt compatability
459+
// Lambda for Qt compatibility
460460
QFontMetrics fm = fontMetrics();
461461
auto getHorizontalAdvance = [&fm](const QString &text) {
462462
#if (QT_VERSION >= QT_VERSION_CHECK(5, 11, 0))

libkoviz/runswidget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ bool RunsWidgetFilterProxyModel::filterAcceptsRow(
117117
return true;
118118
}
119119

120-
// Lambda for Qt compatability
120+
// Lambda for Qt compatibility
121121
auto getFilterRegularExpression = [this]() {
122122
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
123123
return filterRegularExpression();

0 commit comments

Comments
 (0)