mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 11:39:25 +00:00
Change default wallet dir to AppDataLocation
This commit is contained in:
parent
b873d1174e
commit
78ef5cbe6b
1 changed files with 1 additions and 5 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue