summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@nokia.com>2012-01-16 23:42:54 +0100
committerTim Jenssen <tim.jenssen@nokia.com>2012-01-17 12:05:35 +0100
commit376804db8788bfde1985b9d2bbc14af68e9c9260 (patch)
treeb9eeb78e473ce4e98087f00e625fe31350188221 /examples
parente5c477906fd506cf06ac95311a5b3512a6d85e47 (diff)
Use qDebug instead of verbose.
The message handler now forwards everything to the verbosew riter anyway. Change-Id: I822f86e8f2e2e7690a3b855ed83199d2f41dc480 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/downloadspeed/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/downloadspeed/main.cpp b/examples/downloadspeed/main.cpp
index f4e694c33..2161442aa 100644
--- a/examples/downloadspeed/main.cpp
+++ b/examples/downloadspeed/main.cpp
@@ -76,12 +76,12 @@ public slots:
void downloadSpeed(qint64 speed)
{
- qDebug() << "Download speed: " << format(speed) + "/sec";
+ qDebug() << "Download speed:" << format(speed) + "/sec";
}
void downloadProgress(double progress)
{
- qDebug() << "Progress: " << progress;
+ qDebug() << "Progress:" << progress;
}
void estimatedDownloadTime(int time)
@@ -112,7 +112,7 @@ public slots:
if (s >= 0 && minutes.isEmpty())
seconds = QString::number(s) + (s < 2 ? " second" : " seconds");
- qDebug() << days + hours + minutes + seconds + tr(" remaining.");
+ qDebug() << days + hours + minutes + seconds + tr("remaining.");
}
void downloadStatus(const QString &status)
@@ -122,7 +122,7 @@ public slots:
void downloadProgress(qint64 bytesReceived, qint64 bytesToReceive)
{
- qDebug() << "Bytes received: " << bytesReceived << ", Bytes to receive: " << bytesToReceive;
+ qDebug() << "Bytes received:" << bytesReceived << ", Bytes to receive:" << bytesToReceive;
}
private: