summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/qt5/Qt5Menu.hxx1
-rw-r--r--vcl/qt5/Qt5Menu.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/vcl/inc/qt5/Qt5Menu.hxx b/vcl/inc/qt5/Qt5Menu.hxx
index 21f33eaece84..4b4081e09545 100644
--- a/vcl/inc/qt5/Qt5Menu.hxx
+++ b/vcl/inc/qt5/Qt5Menu.hxx
@@ -72,7 +72,6 @@ public:
sal_uInt16 mnId; // Item ID
MenuItemType mnType; // Item type
bool mbVisible; // Item visibility.
- Menu* mpVCLMenu;
Qt5Menu* mpParentMenu; // The menu into which this menu item is inserted
Qt5Menu* mpSubMenu; // Submenu of this item (if defined)
};
diff --git a/vcl/qt5/Qt5Menu.cxx b/vcl/qt5/Qt5Menu.cxx
index d4f0763d00f2..5b915775f338 100644
--- a/vcl/qt5/Qt5Menu.cxx
+++ b/vcl/qt5/Qt5Menu.cxx
@@ -193,7 +193,6 @@ void Qt5Menu::NativeItemText(OUString& rItemText) { rItemText = rItemText.replac
Qt5MenuItem::Qt5MenuItem(const SalItemParams* pItemData)
: mnId(pItemData->nId)
, mnType(pItemData->eType)
- , mpVCLMenu(pItemData->pMenu)
, mpParentMenu(nullptr)
, mpSubMenu(nullptr)
{