Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-kdelibs4
0001-Add-missing-windows-implementation-of-Soli...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Add-missing-windows-implementation-of-Solid-Networking.patch of Package mingw32-kdelibs4
From 80312a7a24d02182da3b6e0e175f9e8c1ff50876 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@sag.eu> Date: Tue, 21 Jul 2015 08:56:10 +0200 Subject: [PATCH] Add missing windows implementation of Solid::NetworkingPrivate::serviceOwnerChanged(). --- solid/solid/networking_win.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/solid/solid/networking_win.cpp b/solid/solid/networking_win.cpp index 4b6f498..bae0dd1 100644 --- a/solid/solid/networking_win.cpp +++ b/solid/solid/networking_win.cpp @@ -95,6 +95,23 @@ void Solid::NetworkingPrivate::serviceStatusChanged( bool status ) emit globalNetworkManager->statusChanged( netStatus ); } +void Solid::NetworkingPrivate::serviceOwnerChanged( const QString & name, const QString & oldOwner, const QString & newOwner ) +{ + Q_UNUSED(name) + Q_UNUSED(oldOwner) + if ( newOwner.isEmpty() ) { + // kded quit on us + netStatus = Solid::Networking::Unknown; + emit globalNetworkManager->statusChanged( netStatus ); + + } else { + // kded was replaced or started + initialize(); + emit globalNetworkManager->statusChanged( netStatus ); + serviceStatusChanged( netStatus ); + } +} + Solid::Networking::ManagementPolicy Solid::Networking::connectPolicy() { return globalNetworkManager->connectPolicy; -- 1.8.4.5
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