From ed55bf072682ebf73239e74b7e3dd286ed5616a5 Mon Sep 17 00:00:00 2001 From: mio Date: Thu, 22 Aug 2024 19:34:23 +1000 Subject: Use nullptr instead of NULL/0 pointer in C++ files See: https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/73 Signed-off-by: mio --- src/app/volumeAction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app/volumeAction.cpp') diff --git a/src/app/volumeAction.cpp b/src/app/volumeAction.cpp index e48dc27..ad585ef 100644 --- a/src/app/volumeAction.cpp +++ b/src/app/volumeAction.cpp @@ -48,8 +48,8 @@ public: VolumeAction::VolumeAction( TDEToolBar *bar, TDEActionCollection *ac ) - : TDEToggleAction( i18n("Volume"), "volume", TQt::Key_1, 0, 0, ac, "volume" ) - , m_anchor( 0 ) + : TDEToggleAction( i18n("Volume"), "volume", TQt::Key_1, nullptr, nullptr, ac, "volume" ) + , m_anchor( nullptr ) { m_widget = new VolumeSlider( bar->topLevelWidget() ); -- cgit v1.2.1