biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / blockchains / monero-gui / move-log-file.patch
blob6d3313624e37760b4c93371adf60de4c29dd76b4
1 diff --git a/src/main/main.cpp b/src/main/main.cpp
2 index c5210e5f..45794d72 100644
3 --- a/src/main/main.cpp
4 +++ b/src/main/main.cpp
5 @@ -220,6 +220,9 @@ int main(int argc, char *argv[])
6 QCommandLineOption logPathOption(QStringList() << "l" << "log-file",
7 QCoreApplication::translate("main", "Log to specified file"),
8 QCoreApplication::translate("main", "file"));
9 + logPathOption.setDefaultValue(
10 + QStandardPaths::writableLocation(QStandardPaths::CacheLocation)
11 + + "/monero-wallet-gui.log");
13 QCommandLineOption testQmlOption("test-qml");
14 testQmlOption.setFlags(QCommandLineOption::HiddenFromHelp);