Initializes 'UserActionsMenu::m_multipleDesktopsMenu' and 'UserActionsMenu::m_shortcutOperation' in the constructor

This commit is contained in:
yunqiang tai 2020-11-19 11:05:39 +08:00 committed by Aleix Pol Gonzalez
parent 3429617662
commit 51eeacd649

View file

@ -68,6 +68,7 @@ UserActionsMenu::UserActionsMenu(QObject *parent)
: QObject(parent)
, m_menu(nullptr)
, m_desktopMenu(nullptr)
, m_multipleDesktopsMenu(nullptr)
, m_screenMenu(nullptr)
, m_activityMenu(nullptr)
, m_scriptsMenu(nullptr)
@ -81,6 +82,7 @@ UserActionsMenu::UserActionsMenu(QObject *parent)
, m_noBorderOperation(nullptr)
, m_minimizeOperation(nullptr)
, m_closeOperation(nullptr)
, m_shortcutOperation(nullptr)
{
}