summaryrefslogtreecommitdiffstats
path: root/src/part/videoWindow.cpp
diff options
context:
space:
mode:
authormio <stigma@disroot.org>2024-08-22 19:34:23 +1000
committermio <stigma@disroot.org>2024-08-22 23:15:20 +1000
commited55bf072682ebf73239e74b7e3dd286ed5616a5 (patch)
treef13875c92a1b0cd5ba8d925ac5f2c6413e9ccc6d /src/part/videoWindow.cpp
parent5e965846d17f7053dca99f3366ce5d8f21e8f649 (diff)
downloadcodeine-ed55bf072682ebf73239e74b7e3dd286ed5616a5.tar.gz
codeine-ed55bf072682ebf73239e74b7e3dd286ed5616a5.zip
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 <stigma@disroot.org>
Diffstat (limited to 'src/part/videoWindow.cpp')
-rw-r--r--src/part/videoWindow.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/part/videoWindow.cpp b/src/part/videoWindow.cpp
index 2da1c35..6b8c23d 100644
--- a/src/part/videoWindow.cpp
+++ b/src/part/videoWindow.cpp
@@ -18,7 +18,7 @@
namespace Codeine {
-VideoWindow *VideoWindow::s_instance = 0;
+VideoWindow *VideoWindow::s_instance = nullptr;
namespace X
@@ -30,12 +30,12 @@ namespace X
VideoWindow::VideoWindow( TQWidget *parent, const char *name )
: TQWidget( parent, name )
- , m_osd( 0 )
- , m_stream( 0 )
- , m_eventQueue( 0 )
- , m_videoPort( 0 )
- , m_audioPort( 0 )
- , m_xine( 0 )
+ , m_osd( nullptr )
+ , m_stream( nullptr )
+ , m_eventQueue( nullptr )
+ , m_videoPort( nullptr )
+ , m_audioPort( nullptr )
+ , m_xine( nullptr )
, m_displayRatio( 1 )
{
s_instance = this;