summaryrefslogtreecommitdiffstats
path: root/examples/phonon/musicplayer
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-06-30 12:20:08 (GMT)
committeraxis <qt-info@nokia.com>2009-06-30 12:20:08 (GMT)
commitc84ac698d29cb2317af5f478b02da6bfb5673716 (patch)
tree336a75344546f18b06a29d1b85bda04eed2e9e09 /examples/phonon/musicplayer
parentb69bf0e7c936de19ae31e55bee3c85ec3b2b2c59 (diff)
parent648400cb53d16125a7b1dc851cf01f09034f1fc7 (diff)
downloadQt-c84ac698d29cb2317af5f478b02da6bfb5673716.zip
Qt-c84ac698d29cb2317af5f478b02da6bfb5673716.tar.gz
Qt-c84ac698d29cb2317af5f478b02da6bfb5673716.tar.bz2
Merge branch 'warningRemovals'
Diffstat (limited to 'examples/phonon/musicplayer')
-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 a9bb379..9acb900 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;
}