Commit 03ed7a3f authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

rpm-ostree: all QObjects with a parent

Unless there's a good reason not to
parent c2a9f15b
......@@ -177,7 +177,7 @@ void RpmOstreeBackend::checkForUpdatesNeeded()
void RpmOstreeBackend::executeCheckUpdateProcess()
{
QProcess *process = new QProcess();
QProcess *process = new QProcess(this);
connect(process, &QProcess::readyReadStandardError, [process]() {
QByteArray readError = process->readAllStandardError();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment