Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
plasma5-workspace
0043-Connect-aboutToHide-signal-from-QMenu-to-r...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0043-Connect-aboutToHide-signal-from-QMenu-to-relevant-li.patch of Package plasma5-workspace
From 327d791cc197b36cf43295bfad9405c74cb048c2 Mon Sep 17 00:00:00 2001 From: David Edmundson <kde@davidedmundson.co.uk> Date: Wed, 29 Mar 2017 16:35:30 +0100 Subject: [PATCH 43/44] Connect aboutToHide signal from QMenu to relevant libdbusmenu-qt slot Summary: This sends the close event to the client which then sends aboutToHide to the QMenu. Code was all there, just not hooked up BUG: 375053 Test Plan: Added qDebug to the test app inside libdbusmenuqt Reviewers: #plasma, markg, broulik Reviewed By: #plasma, markg, broulik Subscribers: broulik, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D5192 --- libdbusmenuqt/dbusmenuimporter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libdbusmenuqt/dbusmenuimporter.cpp b/libdbusmenuqt/dbusmenuimporter.cpp index 2aac5cde..de91a8f5 100644 --- a/libdbusmenuqt/dbusmenuimporter.cpp +++ b/libdbusmenuqt/dbusmenuimporter.cpp @@ -432,6 +432,7 @@ void DBusMenuImporter::slotGetLayoutFinished(QDBusPendingCallWatcher *watcher) updateMenu(menu); }); } + connect(menu, &QMenu::aboutToHide, this, &DBusMenuImporter::slotMenuAboutToHide); menu->addAction(action); } else { -- 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