From e80f1c4243b55ed8b205f0379c10ab38c8e7cb1a Mon Sep 17 00:00:00 2001 From: philmoz Date: Sun, 12 Nov 2023 12:17:32 +1100 Subject: [PATCH] fix(cpn): Model index missing in model list for B&W radios (#4307) --- companion/src/modelslist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/modelslist.cpp b/companion/src/modelslist.cpp index ff1011ad6..8cb23ee6d 100644 --- a/companion/src/modelslist.cpp +++ b/companion/src/modelslist.cpp @@ -621,7 +621,7 @@ void ModelsListModel::refresh() } else { current = rootItem->appendChild(i); - current->setData(currentColumn++, QString().arg(i + 1, 2, 10, QChar('0'))); + current->setData(currentColumn++, QString("%1").arg(i + 1, 2, 10, QChar('0'))); } if (!model.isEmpty() && current) {