File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ void BookTableView::paintEvent(QPaintEvent *event)
70
70
}
71
71
QStringList labels = _columnLabels ();
72
72
73
- // Define this lambda for Qt compatability
73
+ // Define this lambda for Qt compatibility
74
74
auto getHorizontalAdvance = [&fm](const QString &text) {
75
75
#if (QT_VERSION >= QT_VERSION_CHECK(5, 11, 0))
76
76
return fm.horizontalAdvance (text);
@@ -154,7 +154,7 @@ void BookTableView::paintEvent(QPaintEvent *event)
154
154
painter.setPen (penTxt);
155
155
QString s;
156
156
157
- // Lambda for Qt compatability
157
+ // Lambda for Qt compatibility
158
158
auto getHorizontalAdvance = [&fm](const QString &text) {
159
159
#if (QT_VERSION >= QT_VERSION_CHECK(5, 11, 0))
160
160
return fm.horizontalAdvance (text);
@@ -456,7 +456,7 @@ QModelIndex BookTableView::indexAt(const QPoint &point) const
456
456
return idx; // invalid idx
457
457
}
458
458
459
- // Lambda for Qt compatability
459
+ // Lambda for Qt compatibility
460
460
QFontMetrics fm = fontMetrics ();
461
461
auto getHorizontalAdvance = [&fm](const QString &text) {
462
462
#if (QT_VERSION >= QT_VERSION_CHECK(5, 11, 0))
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ bool RunsWidgetFilterProxyModel::filterAcceptsRow(
117
117
return true ;
118
118
}
119
119
120
- // Lambda for Qt compatability
120
+ // Lambda for Qt compatibility
121
121
auto getFilterRegularExpression = [this ]() {
122
122
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
123
123
return filterRegularExpression ();
You can’t perform that action at this time.
0 commit comments