• Craig Watson's avatar
    Hide dock and menubar on OSX; · 20ebdf3c
    Craig Watson authored
    Due to QWidget::showFullScreen having side-effects on OSX (setting the
    dock and menubar to autohide, making it impossible to then set them as
    hidden), the calls to that method were replaced with
    UBPlatformUtils::showFullScreen(QWidget *). This function then calls
    QWidget::showMaximized() on OSX, or QWidget::showFullScreen() on Linux
    and Windows.
    
    It is currently still impossible to switch smoothly between showing or
    hiding the dock on OSX; current behaviour is to hide it all the time,
    even in desktop mode.
    20ebdf3c
UBDisplayManager.cpp 7.72 KB