3 --- gui
/kmixdockwidget
.cpp
.orig
2013-05-04 01:54:44.000000000 +0000
4 +++ gui
/kmixdockwidget
.cpp
5 @@
-217,7 +217,7 @@
void KMixDockWidget::updatePixmap()
6 shared_ptr
<MixDevice
> md
= Mixer::getGlobalMasterMD();
10 + if ( md
== nullptr )
14 @@
-407,7 +407,7 @@
void KMixDockWidget::contextMenuAboutToS
15 void KMixDockWidget::updateDockMuteAction ( KToggleAction
* dockMuteAction
)
17 shared_ptr
<MixDevice
> md
= Mixer::getGlobalMasterMD();
18 - if ( md
!= 0 && dockMuteAction
!= 0 )
19 + if ( md
!= nullptr && dockMuteAction
!= 0 )
21 Volume
& vol
= md
->playbackVolume().hasVolume() ? md
->playbackVolume() : md
->captureVolume();
22 bool isInactive
= vol
.isCapture() ? !md
->isRecSource() : md
->isMuted();