src/connection.cpp
/**
 * Show error will close the loading dialog and show an error. 
*/
Show error will close the loading dialog and show an error.
Show error will close the loading dialog and show an error .
void ConnectionLoader::showError(QString explanation) {    
    rpc->setEZcashd(nullptr);
    rpc->noConnection();
    QMessageBox::critical(main, QObject::tr("Connection Error"), explanation, QMessageBox::Ok);
    d->close();
}
void ConnectionLoader :: showError ( QString explanation ) { rpc -> setEZcashd ( nullptr ) ; rpc -> noConnection ( ) ; QMessageBox :: critical ( main , QObject :: tr ( " " ) , explanation , QMessageBox :: Ok ) ; d -> close ( ) ; }
Show error will close the loading dialog and show an error.
Show error will close the loading dialog and show an error .