mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 11:07:27 -04:00
fix multiple minor issues (c-style casts, default branch, etc.)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user