mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-23 18:18:32 +02:00
Wizard: Sort wallets by modified date
This commit is contained in:
@@ -133,7 +133,7 @@ int WalletKeysFilesModel::rowCount(const QModelIndex & parent) const {
|
||||
}
|
||||
|
||||
int WalletKeysFilesModel::columnCount(const QModelIndex &) const {
|
||||
return 3;
|
||||
return 4;
|
||||
}
|
||||
|
||||
QVariant WalletKeysFilesModel::data(const QModelIndex &index, int role) const {
|
||||
@@ -162,6 +162,8 @@ QVariant WalletKeysFilesModel::data(const QModelIndex &index, int role) const {
|
||||
#endif
|
||||
return fp;
|
||||
}
|
||||
case ModelColumns::Modified:
|
||||
return walletKeyFile.modified();
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user