summaryrefslogtreecommitdiffstats
path: root/examples/phonon
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-06-30 12:14:14 (GMT)
committeraxis <qt-info@nokia.com>2009-06-30 12:14:14 (GMT)
commit494902e71479c5410cb77e62ef7152125f39dc67 (patch)
tree75708c46a89522be0d90f576dfd3ebc4e59377dc /examples/phonon
parent44b6bc1e3391b874ceb1703e2965851c542568db (diff)
downloadQt-494902e71479c5410cb77e62ef7152125f39dc67.zip
Qt-494902e71479c5410cb77e62ef7152125f39dc67.tar.gz
Qt-494902e71479c5410cb77e62ef7152125f39dc67.tar.bz2
Removed warnings because of extra semicolons.
Diffstat (limited to 'examples/phonon')
-rw-r--r--examples/phonon/musicplayer/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/phonon/musicplayer/mainwindow.cpp b/examples/phonon/musicplayer/mainwindow.cpp
index f50a2bd..66c71f8 100644
--- a/examples/phonon/musicplayer/mainwindow.cpp
+++ b/examples/phonon/musicplayer/mainwindow.cpp
@@ -181,7 +181,7 @@ void MainWindow::metaStateChanged(Phonon::State newState, Phonon::State /* oldSt
QMessageBox::warning(this, tr("Error opening files"),
metaInformationResolver->errorString());
while (!sources.isEmpty() &&
- !(sources.takeLast() == metaInformationResolver->currentSource()));
+ !(sources.takeLast() == metaInformationResolver->currentSource())) {}
return;
}