head 1.4; access; symbols pkgsrc-2013Q3:1.3.0.4 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.2 pkgsrc-2013Q2-base:1.3; locks; strict; comment @// @; 1.4 date 2013.11.07.12.49.19; author markd; state dead; branches; next 1.3; commitid ZIyNaDNidnPxrlcx; 1.3 date 2013.05.23.15.06.48; author joerg; state Exp; branches; next 1.2; commitid Ukz6XPq2k2asBLQw; 1.2 date 2013.05.21.12.06.58; author markd; state dead; branches; next 1.1; commitid jbVZ5PChd9LGFuQw; 1.1 date 2013.05.06.14.54.57; author joerg; state Exp; branches; next ; desc @@ 1.4 log @Update to KDE SC 4.11.3 bugfixes, many new features, improved stability and performance. @ text @$NetBSD: patch-backends_mixer__mpris2.cpp,v 1.3 2013/05/23 15:06:48 joerg Exp $ --- backends/mixer_mpris2.cpp.orig 2013-05-04 01:48:09.000000000 +0000 +++ backends/mixer_mpris2.cpp @@@@ -394,7 +394,7 @@@@ void Mixer_MPRIS2::newMediaPlayer(QStrin QString id = ( lastDot == -1 ) ? name : name.mid(lastDot+1); apps.remove(id); shared_ptr md = m_mixDevices.get(id); - if (md != 0) + if (md) { // We know about the player that is unregistering => remove internally md->close(); @ 1.3 log @Use bool conversion operator to check for defined. More compatible version of the original nullptr fix. @ text @d1 1 a1 1 $NetBSD: patch-backends_mixer__mpris2.cpp,v 1.1 2013/05/06 14:54:57 joerg Exp $ @ 1.2 log @Backout nullptr patches - g++ doesn't have support until 4.6. @ text @d10 1 a10 1 + if (md != nullptr) @ 1.1 log @Use nullptr, 0 is ambigious. Prefer C++11 interfaces over tr1. @ text @d1 1 a1 1 $NetBSD$ @