Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / multimedia / kmix / patches / patch-gui_kmixdockwidget.cpp
blob52fcee9a02d18d9b33f267fc776bf6743a193077
1 $NetBSD$
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();
8 char newPixmapType;
9 - if ( md == 0 )
10 + if ( md == nullptr )
12 newPixmapType = 'e';
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();