@@ -290,11 +290,7 @@ void PackageManager::refreshInstalledPackagesList()
290290 m_pythonProcess->setArguments (arguments);
291291
292292 QEventLoop loop;
293- connect (
294- m_pythonProcess,
295- &QProcess::finished,
296- &loop,
297- &QEventLoop::quit);
293+ connect (m_pythonProcess, &QProcess::finished, &loop, &QEventLoop::quit);
298294 connect (m_pythonProcess, &QProcess::errorOccurred, &loop, &QEventLoop::quit);
299295 m_pythonProcess->start (QIODevice::ReadOnly);
300296 if (m_pythonProcess->state () != QProcess::ProcessState::Starting &&
@@ -313,8 +309,7 @@ void PackageManager::refreshInstalledPackagesList()
313309 return ;
314310 }
315311
316- const QString output =
317- QString::fromUtf8 (m_pythonProcess->readAllStandardOutput ());
312+ const QString output = QString::fromUtf8 (m_pythonProcess->readAllStandardOutput ());
318313
319314 const QStringList lines = output.split (" \n " );
320315
@@ -334,7 +329,7 @@ void PackageManager::refreshInstalledPackagesList()
334329 const QString ¤tLine = lines[i];
335330
336331 // Do it this way to avoid an extra allocation
337- const QRegularExpressionMatch match = regex.match (currentLine);
332+ const QRegularExpressionMatch match = regex.match (currentLine);
338333 if (match.hasMatch ())
339334 {
340335 for (int j = 1 ; j < 3 ; ++j)
@@ -350,8 +345,7 @@ void PackageManager::refreshInstalledPackagesList()
350345 }
351346 }
352347
353- const QString errorOutput =
354- QString::fromUtf8 (m_pythonProcess->readAllStandardError ());
348+ const QString errorOutput = QString::fromUtf8 (m_pythonProcess->readAllStandardError ());
355349
356350 if (!errorOutput.isEmpty ())
357351 {
0 commit comments