diff options
Diffstat (limited to 'gui/src/bitcoingui.cpp')
| -rw-r--r-- | gui/src/bitcoingui.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gui/src/bitcoingui.cpp b/gui/src/bitcoingui.cpp index 70da0b239..ed7d133a3 100644 --- a/gui/src/bitcoingui.cpp +++ b/gui/src/bitcoingui.cpp @@ -345,7 +345,9 @@ void BitcoinGUI::error(const QString &title, const QString &message) { // Show as "balloon" message if possible trayIcon->showMessage(title, message, QSystemTrayIcon::Critical); - } else { + } + else + { // Fall back to old fashioned popup dialog if not QMessageBox::critical(this, title, message, @@ -363,7 +365,9 @@ void BitcoinGUI::changeEvent(QEvent *e) { hide(); e->ignore(); - } else { + } + else + { e->accept(); } } |