{
showNormalIfMinimized(true);
}
+
+void BitcoinGUI::error(const QString &title, const QString &message, bool modal)
+{
+ // Report errors from network/worker thread
+ if(modal)
+ {
+ QMessageBox::critical(this, title, message, QMessageBox::Ok, QMessageBox::Ok);
+ } else {
+ notificator->notify(Notificator::Critical, title, message);
+ }
+}
void setEncryptionStatus(int status);
/** Notify the user of an error in the network or transaction handling code. */
+ void error(const QString &title, const QString &message, bool modal);
void message(const QString &title, const QString &message, unsigned int style, const QString &detail=QString());
/** Asks the user whether to pay the transaction fee or to cancel the transaction.