Merge #8481: Qt: Fix minimize and close bugs

05242e9 Fix minimize and close bugs (adlawren)
This commit is contained in:
Wladimir J. van der Laan 2016-08-11 15:22:56 +02:00 committed by Alexander Block
parent 549894bac7
commit d5b5aeefe3

View File

@ -1208,9 +1208,15 @@ void BitcoinGUI::closeEvent(QCloseEvent *event)
QApplication::quit();
}
else
{
QMainWindow::showMinimized();
event->ignore();
}
}
#endif
#else
QMainWindow::closeEvent(event);
#endif
}
void BitcoinGUI::showEvent(QShowEvent *event)