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
{
    Q_OBJECT
public:
    explicit UnitDisplayStatusBarControl(const PlatformStyle *platformStyle);
    
    void setOptionsModel(OptionsModel *optionsModel);
protected:
    
    void mousePressEvent(QMouseEvent *event);
private:
    OptionsModel *optionsModel;
    QMenu* menu;
    
    void onDisplayUnitsClicked(const QPoint& point);
    
    void createContextMenu();
private Q_SLOTS:
    
    void updateDisplayUnit(int newUnits);
    
    void onMenuSelection(QAction* action);
};
#endif