mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-26 18:07:18 +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)
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user