Skip to content

Commit

Permalink
Fix spelling: compatability -> compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
keithvetter committed Oct 9, 2024
1 parent d3b2fba commit 461bce3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions libkoviz/bookview_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void BookTableView::paintEvent(QPaintEvent *event)
}
QStringList labels = _columnLabels();

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

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

// Lambda for Qt compatability
// Lambda for Qt compatibility
QFontMetrics fm = fontMetrics();
auto getHorizontalAdvance = [&fm](const QString &text) {
#if (QT_VERSION >= QT_VERSION_CHECK(5, 11, 0))
Expand Down
2 changes: 1 addition & 1 deletion libkoviz/runswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ bool RunsWidgetFilterProxyModel::filterAcceptsRow(
return true;
}

// Lambda for Qt compatability
// Lambda for Qt compatibility
auto getFilterRegularExpression = [this]() {
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
return filterRegularExpression();
Expand Down

0 comments on commit 461bce3

Please sign in to comment.