remove ded explorer
This commit is contained in:
parent
c0323ee329
commit
ed9edb5ad6
|
@ -144,11 +144,6 @@
|
||||||
<string>explore.wownero.com</string>
|
<string>explore.wownero.com</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<property name="text">
|
|
||||||
<string>kryfi.com</string>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="0">
|
<item row="4" column="0">
|
||||||
|
|
|
@ -26,7 +26,7 @@ static const QHash<Config::ConfigKey, ConfigDirective> configStrings = {
|
||||||
{Config::openVRSkin,{QS("openVRSkin"), "default"}},
|
{Config::openVRSkin,{QS("openVRSkin"), "default"}},
|
||||||
{Config::openVRStreamerMode,{QS("openVRStreamerMode"), false}},
|
{Config::openVRStreamerMode,{QS("openVRStreamerMode"), false}},
|
||||||
{Config::preferredFiatCurrency,{QS("preferredFiatCurrency"), "USD"}},
|
{Config::preferredFiatCurrency,{QS("preferredFiatCurrency"), "USD"}},
|
||||||
{Config::blockExplorer,{QS("blockExplorer"), "kryfi.com"}},
|
{Config::blockExplorer,{QS("blockExplorer"), "explore.wownero.com"}},
|
||||||
{Config::walletDirectory,{QS("walletDirectory"), ""}},
|
{Config::walletDirectory,{QS("walletDirectory"), ""}},
|
||||||
{Config::autoOpenWalletPath,{QS("autoOpenWalletPath"), ""}},
|
{Config::autoOpenWalletPath,{QS("autoOpenWalletPath"), ""}},
|
||||||
{Config::walletPath,{QS("walletPath"), ""}},
|
{Config::walletPath,{QS("walletPath"), ""}},
|
||||||
|
|
|
@ -239,12 +239,7 @@ QString Utils::copyFromClipboard() {
|
||||||
}
|
}
|
||||||
|
|
||||||
QString Utils::blockExplorerLink(const QString &txid) {
|
QString Utils::blockExplorerLink(const QString &txid) {
|
||||||
auto explorer = config()->get(Config::blockExplorer).toString();
|
return QString("https://explore.wownero.com/tx/%1").arg(txid);
|
||||||
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QStandardItem *Utils::qStandardItem(const QString& text) {
|
QStandardItem *Utils::qStandardItem(const QString& text) {
|
||||||
|
|
Loading…
Reference in New Issue