diff options
author | Tasuku Suzuki <tasuku.suzuki@nokia.com> | 2010-03-18 13:37:51 (GMT) |
---|---|---|
committer | Andreas Kling <andreas.kling@nokia.com> | 2010-04-09 13:26:47 (GMT) |
commit | 513bc742b8591711b04d4e2e77512a634d9e4b0b (patch) | |
tree | fe52b60b0a4d501989b3f61c9a39121e53757158 /src/multimedia | |
parent | f176759fc41abc4cb901c2cbaa15264f2a9ac85b (diff) | |
download | Qt-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.cpp | 2 |
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 } } |