From 914a87686e1d1780485f0776168ccc84ea72907d Mon Sep 17 00:00:00 2001 From: philmoz Date: Sat, 11 Nov 2023 21:50:05 +1100 Subject: [PATCH] Fix display of model index for B&W radios. --- 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 ff1011ad6a7..8cb23ee6d83 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) {