forked from qt-creator/qt-creator
Git: Use nullptr in Mergetool
Change-Id: I93206f5d735f3b8b291d752faf6b7da77e98342e Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
e26e13212a
commit
b63ae202e7
@@ -68,7 +68,7 @@ bool MergeTool::start(const QString &workingDirectory, const QStringList &files)
|
||||
connect(m_process, &QIODevice::readyRead, this, &MergeTool::readData);
|
||||
} else {
|
||||
delete m_process;
|
||||
m_process = 0;
|
||||
m_process = nullptr;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user