mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
Merge pull request #1075
08beb71
Store wallet log in ~/Library/Logs/ in macOS
This commit is contained in:
commit
92a62da383
1 changed files with 7 additions and 1 deletions
|
@ -724,7 +724,13 @@ QString Wallet::getDaemonLogPath() 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)
|
||||
|
|
Loading…
Reference in a new issue