Fixed compile; removed useless use of qRound with integers

qRound of an integer type never made sense.
Since 2dcd3939a8bd5ff743e4c87f87b2d81b1a101467 in qtbase, it won't
compile any more.

Change-Id: Ia30334bc92236d0fef9b6ac99d65bae4fe79dc57
Reviewed-on: http://codereview.qt.nokia.com/1905
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
Rohan McGovern
2011-07-21 09:36:12 +10:00
committed by Qt by Nokia
parent 4271cbcaf1
commit 01dac3cf55
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ void AudioRecorder::updateProgress(qint64 duration)
if (capture->error() != QMediaRecorder::NoError || duration < 2000)
return;
ui->statusbar->showMessage(tr("Recorded %1 sec").arg(qRound(duration / 1000)));
ui->statusbar->showMessage(tr("Recorded %1 sec").arg(duration / 1000));
}
void AudioRecorder::updateState(QMediaRecorder::State state)