mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-01 23:17:26 -04:00
KeysFiles: QDirIterator is initially located before the first entry
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user