fix multiple minor issues (c-style casts, default branch, etc.)

This commit is contained in:
xiphon
2020-02-28 10:25:57 +00:00
parent b4a65c52cc
commit 9deca92e07
8 changed files with 16 additions and 13 deletions

View File

@@ -157,7 +157,7 @@ QVariant WalletKeysFilesModel::data(const QModelIndex & index, int role) const {
else if (role == PathRole)
return walletKeyFile.path();
else if (role == NetworkTypeRole)
return walletKeyFile.networkType();
return static_cast<uint>(walletKeyFile.networkType());
else if (role == AddressRole)
return walletKeyFile.address();
return QVariant();