mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
15 lines
649 B
Diff
15 lines
649 B
Diff
diff --git a/src/main/main.cpp b/src/main/main.cpp
|
|
index c5210e5f..45794d72 100644
|
|
--- a/src/main/main.cpp
|
|
+++ b/src/main/main.cpp
|
|
@@ -220,6 +220,9 @@ int main(int argc, char *argv[])
|
|
QCommandLineOption logPathOption(QStringList() << "l" << "log-file",
|
|
QCoreApplication::translate("main", "Log to specified file"),
|
|
QCoreApplication::translate("main", "file"));
|
|
+ logPathOption.setDefaultValue(
|
|
+ QStandardPaths::writableLocation(QStandardPaths::CacheLocation)
|
|
+ + "/monero-wallet-gui.log");
|
|
|
|
QCommandLineOption testQmlOption("test-qml");
|
|
testQmlOption.setFlags(QCommandLineOption::HiddenFromHelp);
|