Better debug info for the "_q_startOperation was called more than once" warnings
Change-Id: I50a3e5584a1bc2553acd4bbec1b9a290b8475e47 Reviewed-by: Markus Goetz (Woboq GmbH) <markus@woboq.com> Reviewed-by: Richard J. Moore <rich@kde.org>bb10
parent
60e0441538
commit
b05ba48281
|
|
@ -1733,7 +1733,7 @@ void QNetworkReplyHttpImplPrivate::_q_startOperation()
|
|||
|
||||
// ensure this function is only being called once
|
||||
if (state == Working) {
|
||||
qDebug("QNetworkReplyImpl::_q_startOperation was called more than once");
|
||||
qDebug() << "QNetworkReplyHttpImplPrivate::_q_startOperation was called more than once" << url;
|
||||
return;
|
||||
}
|
||||
state = Working;
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ void QNetworkReplyImplPrivate::_q_startOperation()
|
|||
{
|
||||
// ensure this function is only being called once
|
||||
if (state == Working || state == Finished) {
|
||||
qDebug("QNetworkReplyImpl::_q_startOperation was called more than once");
|
||||
qDebug() << "QNetworkReplyImpl::_q_startOperation was called more than once" << url;
|
||||
return;
|
||||
}
|
||||
state = Working;
|
||||
|
|
|
|||
Loading…
Reference in New Issue