Fix nullptr warnings

This commit is contained in:
Richard Kimberly Heck 2020-03-01 15:31:52 -05:00
parent 7f0efc5165
commit bd0bf2125c

View File

@ -78,7 +78,7 @@ public:
}; };
static ProgressInterface * progress_instance = 0; static ProgressInterface * progress_instance = nullptr;
void ProgressInterface::setInstance(ProgressInterface* p) void ProgressInterface::setInstance(ProgressInterface* p)
{ {
@ -639,7 +639,7 @@ int SystemcallPrivate::exitCode()
QProcess* SystemcallPrivate::releaseProcess() QProcess* SystemcallPrivate::releaseProcess()
{ {
QProcess* released = process_; QProcess* released = process_;
process_ = 0; process_ = nullptr;
return released; return released;
} }