From 6d896a0e024f8ea8f086f0514a389488a114b7c2 Mon Sep 17 00:00:00 2001 From: Aryan Arora Date: Fri, 10 Mar 2023 11:47:00 +0530 Subject: [PATCH] Update cpp-models.md accessed instead of accesses --- docs/ch17-qtcpp/cpp-models.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ch17-qtcpp/cpp-models.md b/docs/ch17-qtcpp/cpp-models.md index cfb0255e..9fc4a527 100644 --- a/docs/ch17-qtcpp/cpp-models.md +++ b/docs/ch17-qtcpp/cpp-models.md @@ -98,7 +98,7 @@ QVariant DataEntryModel::data(const QModelIndex &index, int role) const // A model can return data for different roles. // The default role is the display role. - // it can be accesses in QML with "model.display" + // it can be accessed in QML with "model.display" switch(role) { case Qt::DisplayRole: // Return the color name for the particular row