Change default wallet dir to AppDataLocation

This commit is contained in:
tobtoht 2022-03-04 13:34:33 +01:00
parent b873d1174e
commit 78ef5cbe6b
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -123,11 +123,7 @@ QString defaultWalletDir() {
return path;
}
#if defined(Q_OS_LINUX) or defined(Q_OS_MAC)
return QString("%1/Monero/wallets").arg(QDir::homePath());
#elif defined(Q_OS_WIN)
return QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation) + "/Monero/wallets";
#endif
return QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/wallets";
}
QString applicationPath() {