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
0035-Replace-std-bind-with-lambda.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0035-Replace-std-bind-with-lambda.patch of Package plasma5-workspace
From 749798fdf38eac6fe11d2d0e6945fd218b50b670 Mon Sep 17 00:00:00 2001 From: David Edmundson <kde@davidedmundson.co.uk> Date: Wed, 18 Jan 2017 16:31:24 +0000 Subject: [PATCH 35/44] Replace std::bind with lambda. It uses C++ that's too new --- libdbusmenuqt/dbusmenuimporter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libdbusmenuqt/dbusmenuimporter.cpp b/libdbusmenuqt/dbusmenuimporter.cpp index 951ddbae..2aac5cde 100644 --- a/libdbusmenuqt/dbusmenuimporter.cpp +++ b/libdbusmenuqt/dbusmenuimporter.cpp @@ -287,7 +287,9 @@ DBusMenuImporter::DBusMenuImporter(const QString &service, const QString &path, connect(d->m_interface, &DBusMenuInterface::LayoutUpdated, this, &DBusMenuImporter::slotLayoutUpdated); connect(d->m_interface, &DBusMenuInterface::ItemActivationRequested, this, &DBusMenuImporter::slotItemActivationRequested); - connect(d->m_interface, &DBusMenuInterface::ItemsPropertiesUpdated, this, std::bind(&DBusMenuImporterPrivate::slotItemsPropertiesUpdated, d, std::placeholders::_1, std::placeholders::_2)); + connect(d->m_interface, &DBusMenuInterface::ItemsPropertiesUpdated, this, [this](const DBusMenuItemList &updatedList, const DBusMenuItemKeysList &removedList) { + d->slotItemsPropertiesUpdated(updatedList, removedList); + }); d->refresh(0); } -- 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