mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-19 16:13:55 +02:00
display wallet files with "." in name
This commit is contained in:
parent
b26f38d37e
commit
aac43e8a1a
@ -115,12 +115,12 @@ void WalletKeysFilesModel::findWallets(const QString &moneroAccountsDir)
|
||||
QFileInfo keysFileinfo = it.fileInfo();
|
||||
|
||||
constexpr const char keysFileExtension[] = "keys";
|
||||
if (!keysFileinfo.isFile() || keysFileinfo.completeSuffix() != keysFileExtension)
|
||||
if (!keysFileinfo.isFile() || keysFileinfo.suffix() != keysFileExtension)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
QString wallet(keysFileinfo.path() + QDir::separator() + keysFileinfo.baseName());
|
||||
QString wallet(keysFileinfo.path() + QDir::separator() + keysFileinfo.completeBaseName());
|
||||
quint8 networkType = NetworkType::MAINNET;
|
||||
QString address = QString("");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user