diff --git a/libkoviz/bookview_table.cpp b/libkoviz/bookview_table.cpp index ac895e0..bd49015 100644 --- a/libkoviz/bookview_table.cpp +++ b/libkoviz/bookview_table.cpp @@ -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); @@ -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); @@ -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)) diff --git a/libkoviz/runswidget.cpp b/libkoviz/runswidget.cpp index 0d4c602..701ab2c 100644 --- a/libkoviz/runswidget.cpp +++ b/libkoviz/runswidget.cpp @@ -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();