remove ded explorer

This commit is contained in:
wowario 2023-01-17 12:07:52 +03:00
parent c0323ee329
commit ed9edb5ad6
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111
3 changed files with 2 additions and 12 deletions

View file

@ -144,11 +144,6 @@
<string>explore.wownero.com</string>
</property>
</item>
<item>
<property name="text">
<string>kryfi.com</string>
</property>
</item>
</widget>
</item>
<item row="4" column="0">

View file

@ -26,7 +26,7 @@ static const QHash<Config::ConfigKey, ConfigDirective> 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"), ""}},

View file

@ -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) {