diff options
Diffstat (limited to 'src/labs/platform/qquicklabsplatformmenu.cpp')
-rw-r--r-- | src/labs/platform/qquicklabsplatformmenu.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/labs/platform/qquicklabsplatformmenu.cpp b/src/labs/platform/qquicklabsplatformmenu.cpp index 60a7843001..22dddd7040 100644 --- a/src/labs/platform/qquicklabsplatformmenu.cpp +++ b/src/labs/platform/qquicklabsplatformmenu.cpp @@ -321,6 +321,7 @@ void QQuickLabsPlatformMenu::setParentMenu(QQuickLabsPlatformMenu *menu) emit parentMenuChanged(); } +#if QT_CONFIG(systemtrayicon) /*! \readonly \qmlproperty SystemTrayIcon Qt.labs.platform::Menu::systemTrayIcon @@ -342,6 +343,7 @@ void QQuickLabsPlatformMenu::setSystemTrayIcon(QQuickLabsPlatformSystemTrayIcon destroy(); emit systemTrayIconChanged(); } +#endif /*! \readonly @@ -648,7 +650,7 @@ void QQuickLabsPlatformMenu::clear() Opens the menu at the specified \a target item, optionally aligned to a menu \a item. */ -void QQuickLabsPlatformMenu::open(QQmlV4Function *args) +void QQuickLabsPlatformMenu::open(QQmlV4FunctionPtr args) { if (!m_handle) return; |