Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.3
plasma5-workspace
0037-Appmenu-Applet-Check-whether-buttonGrid-ha...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0037-Appmenu-Applet-Check-whether-buttonGrid-has-a-window.patch of Package plasma5-workspace
From ade929650b7590284ffe0f266a45bd0624e95e43 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik <kde@privat.broulik.de> Date: Tue, 31 Jan 2017 17:07:41 +0100 Subject: [PATCH 37/44] [Appmenu Applet] Check whether buttonGrid has a window before calling mapToGlobal It can happen this isn't the case after moving panels around and then playing around with the menu button. --- applets/appmenu/lib/appmenuapplet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applets/appmenu/lib/appmenuapplet.cpp b/applets/appmenu/lib/appmenuapplet.cpp index 85b28295..444893fc 100644 --- a/applets/appmenu/lib/appmenuapplet.cpp +++ b/applets/appmenu/lib/appmenuapplet.cpp @@ -228,7 +228,7 @@ bool AppMenuApplet::eventFilter(QObject *watched, QEvent *event) } else if (event->type() == QEvent::MouseMove) { auto *e = static_cast<QMouseEvent *>(event); - if (!m_buttonGrid) { + if (!m_buttonGrid || !m_buttonGrid->window()) { return false; } -- 2.12.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor