mirror of
https://github.com/monero-project/monero-gui
synced 2024-11-24 11:17:15 +01:00
Merge pull request #1075
08beb71
Store wallet log in ~/Library/Logs/ in macOS
This commit is contained in:
commit
92a62da383
@ -724,7 +724,13 @@ QString Wallet::getDaemonLogPath() const
|
|||||||
|
|
||||||
QString Wallet::getWalletLogPath() const
|
QString Wallet::getWalletLogPath() const
|
||||||
{
|
{
|
||||||
return QCoreApplication::applicationDirPath() + "/monero-wallet-gui.log";
|
const QString filename("monero-wallet-gui.log");
|
||||||
|
|
||||||
|
#ifdef Q_OS_MACOS
|
||||||
|
return QStandardPaths::standardLocations(QStandardPaths::HomeLocation).at(0) + "/Library/Logs/" + filename;
|
||||||
|
#else
|
||||||
|
return QCoreApplication::applicationDirPath() + "/" + filename;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
Wallet::Wallet(Monero::Wallet *w, QObject *parent)
|
Wallet::Wallet(Monero::Wallet *w, QObject *parent)
|
||||||
|
Loading…
Reference in New Issue
Block a user