|
|
@ -34,9 +34,11 @@ void Settings::setAllowFetchPrices(bool allow) { |
|
|
|
Explorer Settings::getExplorer() { |
|
|
|
// Load from the QT Settings.
|
|
|
|
QSettings s; |
|
|
|
//TODO: make it easy for people to use other explorers like komodod.com
|
|
|
|
QString explorer = "https://explorer.myhush.org"; |
|
|
|
|
|
|
|
auto txExplorerUrl = s.value("explorer/txExplorerUrl").toString(); |
|
|
|
auto addressExplorerUrl = s.value("explorer/addressExplorerUrl").toString(); |
|
|
|
auto txExplorerUrl = s.value("explorer/txExplorerUrl", explorer + "/tx/").toString(); |
|
|
|
auto addressExplorerUrl = s.value("explorer/addressExplorerUrl", explorer + "/address/").toString(); |
|
|
|
auto testnetTxExplorerUrl = s.value("explorer/testnetTxExplorerUrl").toString(); |
|
|
|
auto testnetAddressExplorerUrl = s.value("explorer/testnetAddressExplorerUrl").toString(); |
|
|
|
|
|
|
|