Fix lupdate-warning in qnetworkreplyhttpimpl.cpp.
qnetworkreplyhttpimpl.cpp:666: Cannot invoke tr() like this. Change-Id: I3baf448f2118b108c32dcddc7e408b2b75542eab Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
parent
7502a78388
commit
5bf3fb34be
@ -663,7 +663,7 @@ void QNetworkReplyHttpImplPrivate::postRequest()
|
||||
// unsuitable proxies
|
||||
QMetaObject::invokeMethod(q, "_q_error", synchronous ? Qt::DirectConnection : Qt::QueuedConnection,
|
||||
Q_ARG(QNetworkReply::NetworkError, QNetworkReply::ProxyNotFoundError),
|
||||
Q_ARG(QString, q->tr("No suitable proxy found")));
|
||||
Q_ARG(QString, QNetworkReplyHttpImpl::tr("No suitable proxy found")));
|
||||
QMetaObject::invokeMethod(q, "_q_finished", synchronous ? Qt::DirectConnection : Qt::QueuedConnection);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user