@@ -193,8 +193,8 @@ DirWatcherManager::Guard::~Guard()
193193 // drain queued events while still suspended so they are filtered out,
194194 // then release.
195195 //
196- // TODO: find alternative, pumping the event loop from a destructor is a reentrancy hazard;
197- // arbitrary slots may run during ~Guard.
196+ // TODO: find alternative, pumping the event loop from a destructor is a reentrancy
197+ // hazard; arbitrary slots may run during ~Guard.
198198 if (m_manager.m_suspendDepth == 1 ) {
199199 QCoreApplication::processEvents ();
200200 }
@@ -599,8 +599,7 @@ bool DownloadManager::addDownload(QNetworkReply* reply, const QStringList& URLs,
599599 " different name." )
600600 .arg (baseName),
601601 QMessageBox::Yes | QMessageBox::No) == QMessageBox::No) {
602- removePending (newDownload->m_FileInfo ->gameName ,
603- newDownload->m_FileInfo ->modID ,
602+ removePending (newDownload->m_FileInfo ->gameName , newDownload->m_FileInfo ->modID ,
604603 newDownload->m_FileInfo ->fileID );
605604 reply->abort ();
606605 reply->deleteLater ();
@@ -682,8 +681,7 @@ void DownloadManager::startDownload(QNetworkReply* reply, DownloadInfo* newDownl
682681 {
683682 // coalesce the pending removal and the active append into one reset
684683 ModelResetGuard guard (*this );
685- removePending (newDownload->m_FileInfo ->gameName ,
686- newDownload->m_FileInfo ->modID ,
684+ removePending (newDownload->m_FileInfo ->gameName , newDownload->m_FileInfo ->modID ,
687685 newDownload->m_FileInfo ->fileID );
688686 m_ActiveDownloads.append (newDownload);
689687 }
@@ -745,7 +743,8 @@ void DownloadManager::addNXMDownload(const QString& url)
745743 }
746744
747745 for (auto tuple : m_PendingDownloads) {
748- if (std::get<0 >(tuple).compare (foundGame->gameShortName (), Qt::CaseInsensitive) == 0 &&
746+ if (std::get<0 >(tuple).compare (foundGame->gameShortName (), Qt::CaseInsensitive) ==
747+ 0 &&
749748 std::get<1 >(tuple) == nxmInfo.modId () &&
750749 std::get<2 >(tuple) == nxmInfo.fileId ()) {
751750 const auto infoStr =
0 commit comments