From 51eeacd649dfbb32d025006bada70a50c3a71398 Mon Sep 17 00:00:00 2001 From: yunqiang tai Date: Thu, 19 Nov 2020 11:05:39 +0800 Subject: [PATCH] Initializes 'UserActionsMenu::m_multipleDesktopsMenu' and 'UserActionsMenu::m_shortcutOperation' in the constructor --- useractions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/useractions.cpp b/useractions.cpp index f4707f3a97..e22ac02a06 100644 --- a/useractions.cpp +++ b/useractions.cpp @@ -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) { }