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:
parent
705e80b702
commit
631ef67458
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue