Fix -Wunused-parameter warning

This commit is contained in:
Vladimir Kolesnikov 2013-02-10 17:10:30 +02:00
parent e792db9fa8
commit 22f768ca99

View File

@ -617,6 +617,8 @@ void SmtpClient::socketStateChanged(QAbstractSocket::SocketState state) {
void SmtpClient::socketError(QAbstractSocket::SocketError socketError) { void SmtpClient::socketError(QAbstractSocket::SocketError socketError) {
#ifndef QT_NO_DEBUG #ifndef QT_NO_DEBUG
qDebug() << "SocketError:" << socketError << socket->error(); qDebug() << "SocketError:" << socketError << socket->error();
#else
Q_UNUSED(socketError);
#endif #endif
emit error(SocketError); emit error(SocketError);
} }