mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
Consolidate exchanges to exchange tab
This commit is contained in:
+2
-2
@@ -147,7 +147,7 @@ AppContext::AppContext(QCommandLineParser *cmdargs) {
|
||||
AppContext::prices = new Prices();
|
||||
|
||||
// xmr.to
|
||||
#ifdef XMRTO
|
||||
#ifdef HAS_XMRTO
|
||||
this->XMRTo = new XmrTo(this);
|
||||
#endif
|
||||
|
||||
@@ -419,7 +419,7 @@ void AppContext::onWSMessage(const QJsonObject &msg) {
|
||||
QJsonObject fiat_rates = msg.value("data").toObject();
|
||||
AppContext::prices->fiatPricesReceived(fiat_rates);
|
||||
}
|
||||
#if defined(XMRTO)
|
||||
#if defined(HAS_XMRTO)
|
||||
else if(cmd == "xmrto_rates") {
|
||||
auto xmr_rates = msg.value("data").toObject();
|
||||
this->XMRTo->onRatesReceived(xmr_rates);
|
||||
|
||||
Reference in New Issue
Block a user