summaryrefslogtreecommitdiffstats
path: root/src/controls/qtmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/qtmenu.cpp')
-rw-r--r--src/controls/qtmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/qtmenu.cpp b/src/controls/qtmenu.cpp
index 00bf11129..b188775b8 100644
--- a/src/controls/qtmenu.cpp
+++ b/src/controls/qtmenu.cpp
@@ -134,12 +134,12 @@ QtMenu::QtMenu(QObject *parent)
: QtMenuText(parent),
m_selectedIndex(-1),
m_highlightedIndex(0),
+ m_parentWindow(0),
m_hasNativeModel(false),
m_minimumWidth(0),
m_popupWindow(0),
m_menuContentItem(0),
- m_popupVisible(false),
- m_parentWindow(0)
+ m_popupVisible(false)
{
m_platformMenu = QGuiApplicationPrivate::platformTheme()->createPlatformMenu();
if (m_platformMenu) {