If the main window has been minimized to the taskbar (iconified) calling "Show/Hide", "Send" or "Receive" actions from the tray icon menu has no effect: the main window still minimized.

It seems like a Qt bug similar to that old [one](https://bugreports.qt.io/browse/QTBUG-31117).

Tested platform: Linux Mint 19, Qt 5.9.5 / 5.9.6
{
#ifndef Q_OS_MAC 
    if(clientModel && clientModel->getOptionsModel())
    {
        if(!clientModel->getOptionsModel()->getMinimizeOnClose())
        {
            
            rpcConsole->close();
            QApplication::quit();
        }
        else
        {
            QMainWindow::showMinimized();
            event->ignore();
        }
    }
#else
    QMainWindow::closeEvent(event);
#endif
}
void BitcoinGUI::showEvent(QShowEvent *event)