mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-22 10:44:46 +00:00
Merge pull request #3130
13ca3ee
KeysFiles: QDirIterator is initially located before the first entry (xiphon)
This commit is contained in:
commit
d3943ca2a9
1 changed files with 3 additions and 1 deletions
|
@ -108,8 +108,10 @@ void WalletKeysFilesModel::refresh(const QString &moneroAccountsDir)
|
|||
void WalletKeysFilesModel::findWallets(const QString &moneroAccountsDir)
|
||||
{
|
||||
QDirIterator it(moneroAccountsDir, QDirIterator::Subdirectories);
|
||||
for (; it.hasNext(); it.next())
|
||||
while (it.hasNext())
|
||||
{
|
||||
it.next();
|
||||
|
||||
QFileInfo keysFileinfo = it.fileInfo();
|
||||
|
||||
constexpr const char keysFileExtension[] = "keys";
|
||||
|
|
Loading…
Reference in a new issue