Don't override error reply when clearing errors

This commit is contained in:
Martchus 2017-01-13 11:42:01 +01:00
parent d1b61ba24a
commit d923d8efff
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@ void SyncthingConnection::requestErrors()
*/
void SyncthingConnection::requestClearingErrors()
{
QObject::connect(m_errorsReply = postData(QStringLiteral("system/error/clear"), QUrlQuery()), &QNetworkReply::finished, this, &SyncthingConnection::readClearingErrors);
QObject::connect(postData(QStringLiteral("system/error/clear"), QUrlQuery()), &QNetworkReply::finished, this, &SyncthingConnection::readClearingErrors);
}
/*!