mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-03 17:39:49 +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;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(Q_OS_LINUX) or defined(Q_OS_MAC)
|
return QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/wallets";
|
||||||
return QString("%1/Monero/wallets").arg(QDir::homePath());
|
|
||||||
#elif defined(Q_OS_WIN)
|
|
||||||
return QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation) + "/Monero/wallets";
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QString applicationPath() {
|
QString applicationPath() {
|
||||||
|
|
Loading…
Reference in a new issue