change default wallet path + remove auto create path on startup

This commit is contained in:
Jacob Brydolf 2016-10-29 12:09:48 +02:00
parent a34efeddcf
commit a3c6c40832
No known key found for this signature in database
GPG key ID: DE46246550D2F3C5

View file

@ -116,9 +116,7 @@ int main(int argc, char *argv[])
#endif #endif
if (!moneroAccountsRootDir.empty()) { if (!moneroAccountsRootDir.empty()) {
QString moneroAccountsDir = moneroAccountsRootDir.at(0) + "/Monero Accounts"; QString moneroAccountsDir = moneroAccountsRootDir.at(0) + "/monero/wallets";
QDir tempDir;
tempDir.mkpath(moneroAccountsDir);
engine.rootContext()->setContextProperty("moneroAccountsDir", moneroAccountsDir); engine.rootContext()->setContextProperty("moneroAccountsDir", moneroAccountsDir);
} }