mirror of
https://github.com/AskDavis/Casinotest.git
synced 2026-01-10 06:39:46 -08:00
Exchanges refreshed every minute
This commit is contained in:
@@ -32,10 +32,12 @@ void GUIExchangesControl::initializeExchangesView( GUIExchangesListView* a_pView
|
||||
|
||||
void GUIExchangesControl::slotPopulateListView( JsonActiveExchangesParser* a_pActiveExchanges )
|
||||
{
|
||||
if ( m_pExchangesView )
|
||||
if ( m_pExchangesView && a_pActiveExchanges )
|
||||
{
|
||||
QmlExchangesListModel* pExchangesModel = new QmlExchangesListModel( *a_pActiveExchanges );
|
||||
m_pExchangesView->setModel( pExchangesModel );
|
||||
delete a_pActiveExchanges;
|
||||
a_pActiveExchanges = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user