Merge pull request #4252

c21c74b osx: Fix missing dock menu with qt5 (Cory Fields)
This commit is contained in:
Wladimir J. van der Laan 2014-05-30 10:19:02 +02:00
commit 97ab93f50b
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

@ -62,6 +62,8 @@ MacDockIconHandler::MacDockIconHandler() : QObject()
this->setMainWindow(NULL);
#if QT_VERSION < 0x050000
qt_mac_set_dock_menu(this->m_dockMenu);
#elif QT_VERSION >= 0x050200
this->m_dockMenu->setAsDockMenu();
#endif
[pool release];
}