Browse Source

Merge pull request #4252

c21c74b osx: Fix missing dock menu with qt5 (Cory Fields)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
97ab93f50b
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/qt/macdockiconhandler.mm

2
src/qt/macdockiconhandler.mm

@ -62,6 +62,8 @@ MacDockIconHandler::MacDockIconHandler() : QObject() @@ -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];
}

Loading…
Cancel
Save