diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2019-06-03 23:19:53 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2019-06-03 23:20:03 +0200 |
commit | 652033008755224112e14d7ab6336f8a9be757be (patch) | |
tree | ae2cf167e205626b69e1744ff6f481d4ea68a03f /contrib/devtools/test_deterministic_coverage.sh | |
parent | 599206fda765c72d9c90ec013a75670c83093648 (diff) | |
parent | 6e6494b3fb345848025494cb7a79c5bf8f35e417 (diff) | |
download | bitcoin-652033008755224112e14d7ab6336f8a9be757be.tar.xz |
Merge #16044: qt: fix opening bitcoin.conf via Preferences on macOS
6e6494b3fb345848025494cb7a79c5bf8f35e417 qt: fix opening bitcoin.conf via Preferences on macOS; see #15409 (shannon1916)
Pull request description:
Fix #15409. The QT wallet fail to open the configuration file on Mac, when these is no default application for `*.conf` files.
Here is a feasible way to solve this bug. When `QDesktopServices::openUrl` fails to open `file:///path/bitcoin.conf` with its default application, use `QProcess::startDetached` to run `open -t /path/bitcoin.conf` command instead, so as to open the configuration file with system's default text editor.
ACKs for commit 6e6494:
hebasto:
re-ACK 6e6494b3fb345848025494cb7a79c5bf8f35e417
fanquake:
tACK https://github.com/bitcoin/bitcoin/commit/6e6494b3fb345848025494cb7a79c5bf8f35e417 on macOS 10.14.x
Tree-SHA512: 60e898f4cb77cfd7b8adbc8d33fbebf46bac2a801bdcf40cae15e24b78ad56b1f32358b1879b670623d9f8651dea93961d34269358cea18f4e15b089a8ffcfbf
Diffstat (limited to 'contrib/devtools/test_deterministic_coverage.sh')
0 files changed, 0 insertions, 0 deletions