From ed9edb5ad660f1a1c518d2b201fa0015007d5c6a Mon Sep 17 00:00:00 2001 From: wowario Date: Tue, 17 Jan 2023 12:07:52 +0300 Subject: [PATCH] remove ded explorer --- src/settings.ui | 5 ----- src/utils/config.cpp | 2 +- src/utils/utils.cpp | 7 +------ 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/settings.ui b/src/settings.ui index 04f6c14..e4a0087 100644 --- a/src/settings.ui +++ b/src/settings.ui @@ -144,11 +144,6 @@ explore.wownero.com - - - kryfi.com - - diff --git a/src/utils/config.cpp b/src/utils/config.cpp index ad7e113..ee31b92 100644 --- a/src/utils/config.cpp +++ b/src/utils/config.cpp @@ -26,7 +26,7 @@ static const QHash configStrings = { {Config::openVRSkin,{QS("openVRSkin"), "default"}}, {Config::openVRStreamerMode,{QS("openVRStreamerMode"), false}}, {Config::preferredFiatCurrency,{QS("preferredFiatCurrency"), "USD"}}, - {Config::blockExplorer,{QS("blockExplorer"), "kryfi.com"}}, + {Config::blockExplorer,{QS("blockExplorer"), "explore.wownero.com"}}, {Config::walletDirectory,{QS("walletDirectory"), ""}}, {Config::autoOpenWalletPath,{QS("autoOpenWalletPath"), ""}}, {Config::walletPath,{QS("walletPath"), ""}}, diff --git a/src/utils/utils.cpp b/src/utils/utils.cpp index 4156ccf..7fa3200 100644 --- a/src/utils/utils.cpp +++ b/src/utils/utils.cpp @@ -239,12 +239,7 @@ QString Utils::copyFromClipboard() { } QString Utils::blockExplorerLink(const QString &txid) { - auto explorer = config()->get(Config::blockExplorer).toString(); - if(explorer.startsWith("kryfi.com")) { - return QString("https://kryfi.com/explorer/wownero/tx/%1").arg(txid); - } else { - return QString("https://explore.wownero.com/tx/%1").arg(txid); - } + return QString("https://explore.wownero.com/tx/%1").arg(txid); } QStandardItem *Utils::qStandardItem(const QString& text) {