diff options
| author | 2016-04-30 18:23:42 +0100 | |
|---|---|---|
| committer | 2016-04-30 18:50:44 +0100 | |
| commit | 505d0768f8392e3c4775425dd97f41e1c829ef44 (patch) | |
| tree | 55dfa35f2e180b4186baf00ffbfd2ee38c0f1c18 /src/modules/objects/KvsObject_window.cpp | |
| parent | Update my clang-format to 3.8.0 (diff) | |
| download | KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.tar.gz KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.tar.bz2 KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.zip | |
Apply clang-tidy: modernize-use-nullptr
Diffstat (limited to 'src/modules/objects/KvsObject_window.cpp')
| -rw-r--r-- | src/modules/objects/KvsObject_window.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/objects/KvsObject_window.cpp b/src/modules/objects/KvsObject_window.cpp index 34ede2ed8..c28af26fa 100644 --- a/src/modules/objects/KvsObject_window.cpp +++ b/src/modules/objects/KvsObject_window.cpp @@ -34,8 +34,8 @@ KviKvsScriptWindowWindow::KviKvsScriptWindowWindow(const QString & szName) : KviWindow(KviWindow::ScriptObject, szName) { - m_pCentralWidget = 0; - m_pIcon = 0; + m_pCentralWidget = nullptr; + m_pIcon = nullptr; } KviKvsScriptWindowWindow::~KviKvsScriptWindowWindow() @@ -56,14 +56,14 @@ void KviKvsScriptWindowWindow::resizeEvent(QResizeEvent *) void KviKvsScriptWindowWindow::centralWidgetObjectDestroyed() { - m_pCentralWidget = 0; - m_pCentralWidgetObject = 0; + m_pCentralWidget = nullptr; + m_pCentralWidgetObject = nullptr; } void KviKvsScriptWindowWindow::centralWidgetDestroyed() { - m_pCentralWidget = 0; - m_pCentralWidgetObject = 0; + m_pCentralWidget = nullptr; + m_pCentralWidgetObject = nullptr; } QPixmap * KviKvsScriptWindowWindow::myIconPtr() |
