diff options
author | mio <[email protected]> | 2024-08-22 19:34:23 +1000 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-08-22 23:12:08 +0900 |
commit | bca2a1a170c5030aeb55b411fd64a4adf02e3434 (patch) | |
tree | 66769d4d979fffce4e2f64316df5dd81fa2de795 /src/part/videoWindow.cpp | |
parent | 55214aea7cf8d37849d1566535a4f13eb04f2528 (diff) | |
download | codeine-bca2a1a170c5030aeb55b411fd64a4adf02e3434.tar.gz codeine-bca2a1a170c5030aeb55b411fd64a4adf02e3434.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 <[email protected]>
(cherry picked from commit ed55bf072682ebf73239e74b7e3dd286ed5616a5)
Diffstat (limited to 'src/part/videoWindow.cpp')
-rw-r--r-- | src/part/videoWindow.cpp | 14 |
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; |