Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Rings:2-TestDVD
plasma5-pa
0002-Fix-comparing-pa_cvolume-objects.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Fix-comparing-pa_cvolume-objects.patch of Package plasma5-pa
From b9b66ad443508623fc2530c0189e4d463e567814 Mon Sep 17 00:00:00 2001 From: David Rosca <nowrep@gmail.com> Date: Tue, 20 Dec 2016 08:57:18 +0100 Subject: [PATCH 2/4] Fix comparing pa_cvolume objects pa_cvolume_equal returns 1 when true, 0 otherwise BUG: 373943 Differential Revision: https://phabricator.kde.org/D3753 --- src/volumeobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/volumeobject.h b/src/volumeobject.h index 5824391..c5b39de 100644 --- a/src/volumeobject.h +++ b/src/volumeobject.h @@ -49,7 +49,7 @@ public: m_muted = info->mute; emit mutedChanged(); } - if (pa_cvolume_equal(&m_volume, &info->volume) != 0) { + if (!pa_cvolume_equal(&m_volume, &info->volume)) { m_volume = info->volume; emit volumeChanged(); emit channelVolumesChanged(); -- 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