mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
Fix nullptr warnings
This commit is contained in:
parent
7f0efc5165
commit
bd0bf2125c
@ -78,7 +78,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
static ProgressInterface * progress_instance = 0;
|
||||
static ProgressInterface * progress_instance = nullptr;
|
||||
|
||||
void ProgressInterface::setInstance(ProgressInterface* p)
|
||||
{
|
||||
@ -639,7 +639,7 @@ int SystemcallPrivate::exitCode()
|
||||
QProcess* SystemcallPrivate::releaseProcess()
|
||||
{
|
||||
QProcess* released = process_;
|
||||
process_ = 0;
|
||||
process_ = nullptr;
|
||||
return released;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user