--- qsampler/trunk/src/qsampler.cpp 2019/08/13 09:08:53 3554 +++ qsampler/trunk/src/qsampler.cpp 2019/08/13 10:19:32 3555 @@ -78,7 +78,7 @@ // Constructor. qsamplerApplication::qsamplerApplication ( int& argc, char **argv ) : QApplication(argc, argv), - m_pQtTranslator(NULL), m_pMyTranslator(NULL), m_pWidget(NULL) + m_pQtTranslator(nullptr), m_pMyTranslator(nullptr), m_pWidget(nullptr) { // Load translation support. QLocale loc; @@ -136,13 +136,13 @@ #ifdef CONFIG_XUNIQUE #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) #ifdef CONFIG_X11 - m_pDisplay = NULL; + m_pDisplay = nullptr; m_aUnique = 0; m_wOwner = 0; #endif // CONFIG_X11 #else - m_pMemory = NULL; - m_pServer = NULL; + m_pMemory = nullptr; + m_pServer = nullptr; #endif #endif // CONFIG_XUNIQUE } @@ -156,11 +156,11 @@ if (m_pServer) { m_pServer->close(); delete m_pServer; - m_pServer = NULL; + m_pServer = nullptr; } if (m_pMemory) { delete m_pMemory; - m_pMemory = NULL; + m_pMemory = nullptr; } #endif #endif // CONFIG_XUNIQUE @@ -421,7 +421,7 @@ // Fork child... if (pid == 0) { - execl(shell, shell, "-c", cmd, NULL); + execl(shell, shell, "-c", cmd, nullptr); _exit(1); return; }