From 922d24fdda73053b7ab7b4e62f2046040faf8c86 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Thu, 26 May 2022 17:05:47 +0600 Subject: [PATCH] MCA slots start from 1 --- src/qt/qt_mcadevicelist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/qt_mcadevicelist.cpp b/src/qt/qt_mcadevicelist.cpp index d89bc7725..f1a39e358 100644 --- a/src/qt/qt_mcadevicelist.cpp +++ b/src/qt/qt_mcadevicelist.cpp @@ -29,7 +29,7 @@ MCADeviceList::MCADeviceList(QWidget *parent) : if (deviceId != 0xFFFF) { QString hexRepresentation = QString::number(deviceId, 16).toUpper(); - ui->listWidget->addItem(QString("Slot %1: 0x%2 (@%3.ADF)").arg(i).arg(hexRepresentation, hexRepresentation)); + ui->listWidget->addItem(QString("Slot %1: 0x%2 (@%3.ADF)").arg(i + 1).arg(hexRepresentation, hexRepresentation)); } } }