Build fix on QMenuBar
Reviewed-By: gabi Merge-Request: 916 (cherry picked from commit ea585d567bf0970c57e31846da044295d80774ba)
This commit is contained in:
parent
4bfcb2febe
commit
95d7a4e8ea
@ -120,12 +120,10 @@ void QMenuBarImpl::actionEvent(QActionEvent *e)
|
||||
|
||||
void QMenuBarImpl::handleReparent(QWidget *oldParent, QWidget *newParent, QWidget *oldWindow, QWidget *newWindow)
|
||||
{
|
||||
#ifdef Q_WS_X11
|
||||
Q_UNUSED(oldParent)
|
||||
Q_UNUSED(newParent)
|
||||
Q_UNUSED(oldWindow)
|
||||
Q_UNUSED(newWindow)
|
||||
#endif
|
||||
|
||||
#ifdef Q_WS_MAC
|
||||
if (isNativeMenuBar() && !macWidgetHasNativeMenubar(newParent)) {
|
||||
|
Loading…
Reference in New Issue
Block a user