Skip to content

Commit

Permalink
clang-format on downloaderwidget
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew J. Milner <[email protected]>
  • Loading branch information
matterhorn103 committed Nov 8, 2024
1 parent ff9cad6 commit cf8d689
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions avogadro/qtplugins/plugindownloader/downloaderwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,18 @@ void DownloaderWidget::handleRedirect()
// Something went wrong
QString errorString = m_reply->errorString();
m_ui->readmeBrowser->append(
tr("Failed to download from %1: status code %2, %3\n").arg(m_reply->url().toString()).arg(statusCode).arg(errorString));
tr("Failed to download from %1: status code %2, %3\n")
.arg(m_reply->url().toString())
.arg(statusCode)
.arg(errorString));
}
} else {
QString errorString = m_reply->errorString();
m_ui->readmeBrowser->append(
tr("Failed to download from %1: status code %2, %3\n").arg(m_reply->url().toString()).arg(statusCode).arg(errorString));
tr("Failed to download from %1: status code %2, %3\n")
.arg(m_reply->url().toString())
.arg(statusCode)
.arg(errorString));
m_reply->deleteLater();
m_downloadList.removeLast();
downloadNext();
Expand Down

0 comments on commit cf8d689

Please sign in to comment.