mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 19:32:03 +02:00
Merge pull request #3130
13ca3ee
KeysFiles: QDirIterator is initially located before the first entry (xiphon)
This commit is contained in:
commit
d3943ca2a9
@ -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 New Issue
Block a user