mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-11 21:34:34 +00:00
KeysFiles: QDirIterator is initially located before the first entry
This commit is contained in:
parent
afc2e846fd
commit
13ca3eeb84
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)
|
void WalletKeysFilesModel::findWallets(const QString &moneroAccountsDir)
|
||||||
{
|
{
|
||||||
QDirIterator it(moneroAccountsDir, QDirIterator::Subdirectories);
|
QDirIterator it(moneroAccountsDir, QDirIterator::Subdirectories);
|
||||||
for (; it.hasNext(); it.next())
|
while (it.hasNext())
|
||||||
{
|
{
|
||||||
|
it.next();
|
||||||
|
|
||||||
QFileInfo keysFileinfo = it.fileInfo();
|
QFileInfo keysFileinfo = it.fileInfo();
|
||||||
|
|
||||||
constexpr const char keysFileExtension[] = "keys";
|
constexpr const char keysFileExtension[] = "keys";
|
||||||
|
|
Loading…
Reference in a new issue