Browse Source

Add kwd+lkr

deadstrip
Duke Leto 4 years ago
parent
commit
512e83723f
  1. 2
      src/rpc.cpp
  2. 10
      src/settings.ui

2
src/rpc.cpp

@ -1093,7 +1093,7 @@ void RPC::refreshPrice() {
return noConnection();
// TODO: use/render all this data
QString price_feed = "https://api.coingecko.com/api/v3/simple/price?ids=hush&vs_currencies=btc%2Cusd%2Ceur%2Ceth%2Cgbp%2Ccny%2Cjpy%2Cidr%2Crub%2Ccad%2Csgd%2Cchf%2Cinr%2Caud%2Cinr%2Ckrw%2Cthb%2Cnzd%2Czar%2Cvef%2Cxau%2Cxag%2Cvnd%2Csar%2Ctwd%2Caed%2Cars%2Cbdt%2Cbhd%2Cbmd%2Cbrl%2Cclp%2Cczk%2Cdkk%2Chuf%2Cils%2Chkd&include_market_cap=true&include_24hr_vol=true&include_24hr_change=true";
QString price_feed = "https://api.coingecko.com/api/v3/simple/price?ids=hush&vs_currencies=btc%2Cusd%2Ceur%2Ceth%2Cgbp%2Ccny%2Cjpy%2Cidr%2Crub%2Ccad%2Csgd%2Cchf%2Cinr%2Caud%2Cinr%2Ckrw%2Cthb%2Cnzd%2Czar%2Cvef%2Cxau%2Cxag%2Cvnd%2Csar%2Ctwd%2Caed%2Cars%2Cbdt%2Cbhd%2Cbmd%2Cbrl%2Cclp%2Cczk%2Cdkk%2Chuf%2Cils%2Ckwd%2Clkr%2Chkd&include_market_cap=true&include_24hr_vol=true&include_24hr_change=true";
QUrl cmcURL(price_feed);
QNetworkRequest req;
req.setUrl(cmcURL);

10
src/settings.ui

@ -305,6 +305,16 @@
<string>KRW</string>
</property>
</item>
<item>
<property name="text">
<string>KWD</string>
</property>
</item>
<item>
<property name="text">
<string>LKR</string>
</property>
</item>
<item>
<property name="text">
<string>NZD</string>

Loading…
Cancel
Save