summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorAndy Shaw <qt-info@nokia.com>2010-06-23 05:44:10 (GMT)
committerAndy Shaw <qt-info@nokia.com>2010-06-23 05:44:10 (GMT)
commit1aee8f71da584525eea569690110ca2ed471c5ae (patch)
tree4598da75f1a9f24ccd7a3fa03d70b8c55bf64ea4 /src/network
parentfc48427e5f503b79e97e9607f1a281877817bc21 (diff)
downloadQt-1aee8f71da584525eea569690110ca2ed471c5ae.zip
Qt-1aee8f71da584525eea569690110ca2ed471c5ae.tar.gz
Qt-1aee8f71da584525eea569690110ca2ed471c5ae.tar.bz2
Ensure that compiling with the no debug/warning output defines works
The defines that can be used are QT_NO_DEBUG_OUTPUT and QT_NO_WARNING_OUTPUT in order to turn off qDebug and qWarning output. Reviewed-by: cduclos Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network')
-rw-r--r--src/network/access/qftp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qftp.cpp b/src/network/access/qftp.cpp
index 7f6df0a..97219f4 100644
--- a/src/network/access/qftp.cpp
+++ b/src/network/access/qftp.cpp
@@ -2311,7 +2311,7 @@ void QFtpPrivate::_q_piError(int errorCode, const QString &text)
Q_Q(QFtp);
if (pending.isEmpty()) {
- qWarning() << "QFtpPrivate::_q_piError was called without pending command!";
+ qWarning("QFtpPrivate::_q_piError was called without pending command!");
return;
}