From 90ecc401c05c74c8a01fe776cbcd1a3c15bf2dc0 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Mon, 25 Feb 2019 00:44:02 -0800 Subject: [PATCH] Remove duplicate condition wxICON_ERROR == wxICON_HAND --- src/qt/msgdlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/msgdlg.cpp b/src/qt/msgdlg.cpp index 52130deee4..f0ffa42427 100644 --- a/src/qt/msgdlg.cpp +++ b/src/qt/msgdlg.cpp @@ -78,7 +78,7 @@ wxMessageDialog::wxMessageDialog( wxWindow *parent, const wxString& message, dlg->setIcon( QMessageBox::Warning ); } - if ( style & wxICON_ERROR || style & wxICON_HAND ) + if ( style & wxICON_ERROR ) { numIcons++; dlg->setIcon( QMessageBox::Critical );