branch | RCL_3 |
changeset 14 | c0432d11811c |
parent 4 | 3b1da2848fc7 |
child 30 | 5dc02b23752f |
--- a/src/network/access/qftp.cpp Wed Apr 21 12:15:23 2010 +0300 +++ b/src/network/access/qftp.cpp Wed Apr 21 20:15:53 2010 +0300 @@ -2309,6 +2309,12 @@ void QFtpPrivate::_q_piError(int errorCode, const QString &text) { Q_Q(QFtp); + + if (pending.isEmpty()) { + qWarning() << "QFtpPrivate::_q_piError was called without pending command!"; + return; + } + QFtpCommand *c = pending.first(); // non-fatal errors