during transforming to new connect() style, I have found these connects:
connect(_mainBookmarkPopup, SIGNAL(highlighted(int)), &menu, SLOT(close()));
connect(_mainBookmarkPopup, SIGNAL(activated(int)), &menu, SLOT(close()));
_mainBookmarkPopup type is QPointer<QMenu> .
It seems that this connections are not valid, because QMenu hasn't these signals anymore in Qt5.
Can you check it and prove my assumptions?