diff --git a/src/qt/qt_settingsotherremovable.cpp b/src/qt/qt_settingsotherremovable.cpp index a24e407eb..16ab87c5e 100644 --- a/src/qt/qt_settingsotherremovable.cpp +++ b/src/qt/qt_settingsotherremovable.cpp @@ -121,7 +121,7 @@ SettingsOtherRemovable::setRDiskType(QAbstractItemModel *model, const QModelInde auto i = idx.siblingAtColumn(0); model->setData(i, icon, Qt::DecorationRole); - auto i = idx.siblingAtColumn(1); + i = idx.siblingAtColumn(1); if (idx.siblingAtColumn(0).data(Qt::UserRole).toUInt() == RDISK_BUS_DISABLED) model->setData(i, QCoreApplication::translate("", "None")); else