From b6759ff81c1b6ecb7e18144db0b7c9c5884d7f24 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 28 Apr 2022 18:31:50 +0200 Subject: QAbstractItemModelTester: Fix typos in debug output Introduced in 2f6faca901442631299af0c0d15b3edf257f225b Change-Id: Iab01bbd572ee1fdc7f590b608d7bf504dbf18769 Reviewed-by: David Faure --- src/testlib/qabstractitemmodeltester.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/testlib/qabstractitemmodeltester.cpp b/src/testlib/qabstractitemmodeltester.cpp index b2fac18eabb..7e4dfeafab6 100644 --- a/src/testlib/qabstractitemmodeltester.cpp +++ b/src/testlib/qabstractitemmodeltester.cpp @@ -744,7 +744,7 @@ void QAbstractItemModelTesterPrivate::columnsMoved(const QModelIndex &sourcePare MODELTESTER_COMPARE(changeInFlight, ChangeInFlight::ColumnsMoved); changeInFlight = ChangeInFlight::None; - qCDebug(lcModelTest) << "columnsAboutToBeMoved" + qCDebug(lcModelTest) << "columnsMoved" << "sourceStart=" << sourceStart << "sourceEnd=" << sourceEnd << "sourceParent=" << sourceParent << "sourceParent data=" << model->data(sourceParent).toString() @@ -854,7 +854,7 @@ void QAbstractItemModelTesterPrivate::rowsAboutToBeMoved(const QModelIndex &sour << "sourceParent=" << sourceParent << "sourceParent data=" << model->data(sourceParent).toString() << "destinationParent=" << destinationParent - << "destinationColumn=" << destinationRow; + << "destinationRow=" << destinationRow; } void QAbstractItemModelTesterPrivate::rowsMoved(const QModelIndex &sourceParent, int sourceStart, @@ -869,7 +869,7 @@ void QAbstractItemModelTesterPrivate::rowsMoved(const QModelIndex &sourceParent, << "sourceParent=" << sourceParent << "sourceParent data=" << model->data(sourceParent).toString() << "destinationParent=" << destinationParent - << "destinationColumn=" << destinationRow; + << "destinationRow=" << destinationRow; } void QAbstractItemModelTesterPrivate::layoutAboutToBeChanged() -- cgit v1.2.3