From 95e2c0280c6e5b914f29b37a4542d5885f337615 Mon Sep 17 00:00:00 2001 From: adityapk Date: Thu, 8 Nov 2018 15:01:27 -0800 Subject: [PATCH] change exit splash screen --- src/rpc.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/rpc.cpp b/src/rpc.cpp index e8c2077..11ca9ae 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -871,12 +871,13 @@ void RPC::shutdownZcashd() { conn->doRPCWithDefaultErrorHandling(payload, [=](auto) {}); conn->shutdown(); - QMessageBox d(main); - d.setIcon(QMessageBox::Icon::Information); - d.setWindowTitle("Waiting for zcashd to exit"); - d.setText("Please wait for zcashd to exit."); - d.setStandardButtons(QMessageBox::NoButton); - + QDialog d(main); + Ui_ConnectionDialog connD; + connD.setupUi(&d); + connD.topIcon->setBasePixmap(QIcon(":/icons/res/icon.ico").pixmap(256, 256)); + connD.status->setText("Please wait for zec-qt-wallet to exit"); + connD.statusDetail->setText("Waiting for zcashd to exit"); + QTimer waiter(main); // We capture by reference all the local variables because of the d.exec()