Browse Source

Add aed+ars

deadstrip
Duke Leto 5 years ago
parent
commit
9e176a4883
  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%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%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

@ -195,6 +195,16 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item>
<property name="text">
<string>AED</string>
</property>
</item>
<item>
<property name="text">
<string>ARS</string>
</property>
</item>
<item>
<property name="text">
<string>AUD</string>

Loading…
Cancel
Save