summaryrefslogtreecommitdiffstats
path: root/src/multimedia
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2010-03-18 13:37:51 (GMT)
committerAndreas Kling <andreas.kling@nokia.com>2010-04-09 13:26:47 (GMT)
commit513bc742b8591711b04d4e2e77512a634d9e4b0b (patch)
treefe52b60b0a4d501989b3f61c9a39121e53757158 /src/multimedia
parentf176759fc41abc4cb901c2cbaa15264f2a9ac85b (diff)
downloadQt-513bc742b8591711b04d4e2e77512a634d9e4b0b.zip
Qt-513bc742b8591711b04d4e2e77512a634d9e4b0b.tar.gz
Qt-513bc742b8591711b04d4e2e77512a634d9e4b0b.tar.bz2
Fix compile error with QT_NO_LIBRARY in QtMultimedia
Merge-request: 2328 Reviewed-by: Andreas Kling <andreas.kling@nokia.com>
Diffstat (limited to 'src/multimedia')
-rw-r--r--src/multimedia/base/qmediapluginloader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/multimedia/base/qmediapluginloader.cpp b/src/multimedia/base/qmediapluginloader.cpp
index 24c5aba..eaf6218 100644
--- a/src/multimedia/base/qmediapluginloader.cpp
+++ b/src/multimedia/base/qmediapluginloader.cpp
@@ -98,6 +98,7 @@ void QMediaPluginLoader::load()
}
}
} else {
+#ifndef QT_NO_LIBRARY
QStringList paths = QCoreApplication::libraryPaths();
foreach (QString const &path, paths) {
@@ -126,6 +127,7 @@ void QMediaPluginLoader::load()
loader.unload();
}
}
+#endif
}
}