]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
Change default wallet dir to AppDataLocation
authortobtoht <thotbot@protonmail.com>
Fri, 4 Mar 2022 12:34:33 +0000 (13:34 +0100)
committertobtoht <thotbot@protonmail.com>
Fri, 4 Mar 2022 12:34:33 +0000 (13:34 +0100)
src/utils/Utils.cpp

index 157f415235dd9334c0eba974be9f008fed8a7831..0240ac448e8b5174e98787e41613ef8c490cd6c9 100644 (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() {