QQuickTableView: fix warning message

Fix up small copy/paste bug.

Change-Id: I0f6c648679c025af9dcebf9459116c6cd6452a14
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
Richard Moe Gustavsen 2019-12-04 10:26:41 +01:00
parent 705e80b702
commit 631ef67458
1 changed files with 2 additions and 2 deletions

View File

@ -1252,9 +1252,9 @@ qreal QQuickTableViewPrivate::getColumnLayoutWidth(int column)
if (qIsNaN(columnWidth) || columnWidth <= 0) {
if (!layoutWarningIssued) {
layoutWarningIssued = true;
qmlWarning(q_func()) << "the delegate's implicitHeight needs to be greater than zero";
qmlWarning(q_func()) << "the delegate's implicitWidth needs to be greater than zero";
}
columnWidth = kDefaultRowHeight;
columnWidth = kDefaultColumnWidth;
}
return columnWidth;