Revert "Change default wallet dir to AppDataLocation"

This reverts commit 78ef5cbe6b.
This commit is contained in:
tobtoht 2022-07-02 21:52:57 +02:00
parent ddbc89f5e7
commit 0b2cc85c7f

View file

@ -149,7 +149,11 @@ QString defaultWalletDir() {
return path;
}
return QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/wallets";
#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
}
QString ringDatabasePath() {