From 9deca92e0776a97e6364b6e6f36cc8a8718ea2cb Mon Sep 17 00:00:00 2001 From: xiphon Date: Fri, 28 Feb 2020 10:25:57 +0000 Subject: fix multiple minor issues (c-style casts, default branch, etc.) --- src/model/SubaddressAccountModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/model/SubaddressAccountModel.cpp') diff --git a/src/model/SubaddressAccountModel.cpp b/src/model/SubaddressAccountModel.cpp index 51721b8b..e4bce411 100644 --- a/src/model/SubaddressAccountModel.cpp +++ b/src/model/SubaddressAccountModel.cpp @@ -53,7 +53,7 @@ int SubaddressAccountModel::rowCount(const QModelIndex &) const QVariant SubaddressAccountModel::data(const QModelIndex &index, int role) const { - if (!index.isValid() || index.row() < 0 || (unsigned)index.row() >= m_subaddressAccount->count()) + if (!index.isValid() || index.row() < 0 || static_cast(index.row()) >= m_subaddressAccount->count()) return {}; QVariant result; -- cgit v1.2.3