summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2010-02-17 03:51:43 (GMT)
committerAndrew den Exter <andrew.den-exter@nokia.com>2010-02-17 03:51:43 (GMT)
commit401ee4c7b14146b39419dafe1981c6a8a108196e (patch)
treeaef9a5190f5ed3ba1fa2d51b57152f8055c3b7d8
parenta2aaed149cffdde161fc1fc7d718b3fd7f6c96c5 (diff)
downloadQt-401ee4c7b14146b39419dafe1981c6a8a108196e.zip
Qt-401ee4c7b14146b39419dafe1981c6a8a108196e.tar.gz
Qt-401ee4c7b14146b39419dafe1981c6a8a108196e.tar.bz2
Make QMediaPlaylist test pass.
The test was failing because an ignored warning wasn't being output. Remove both the warning and ignore statements.
-rw-r--r--src/multimedia/base/qmediapluginloader.cpp1
-rw-r--r--tests/auto/qmediaplaylist/tst_qmediaplaylist.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/multimedia/base/qmediapluginloader.cpp b/src/multimedia/base/qmediapluginloader.cpp
index 8130413..24c5aba 100644
--- a/src/multimedia/base/qmediapluginloader.cpp
+++ b/src/multimedia/base/qmediapluginloader.cpp
@@ -88,7 +88,6 @@ void QMediaPluginLoader::load()
return;
if (staticMediaPlugins() && staticMediaPlugins()->contains(m_location)) {
- qWarning() << "Load static plugins for" << m_location;
foreach(QObject *o, staticMediaPlugins()->value(m_location)) {
if (o != 0 && o->qt_metacast(m_iid) != 0) {
QFactoryInterface* p = qobject_cast<QFactoryInterface*>(o);
diff --git a/tests/auto/qmediaplaylist/tst_qmediaplaylist.cpp b/tests/auto/qmediaplaylist/tst_qmediaplaylist.cpp
index adaa56c..383a407 100644
--- a/tests/auto/qmediaplaylist/tst_qmediaplaylist.cpp
+++ b/tests/auto/qmediaplaylist/tst_qmediaplaylist.cpp
@@ -403,7 +403,6 @@ void tst_QMediaPlaylist::saveAndLoad()
QBuffer buffer;
buffer.open(QBuffer::ReadWrite);
- QTest::ignoreMessage(QtWarningMsg, "Load static plugins for \"/playlistformats/\" ");
bool res = playlist.save(&buffer, "unsupported_format");
QVERIFY(!res);
QVERIFY(playlist.error() != QMediaPlaylist::NoError);