diff options
-rw-r--r-- | src/declarative/util/qmlpixmapcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qmlpixmapcache.cpp b/src/declarative/util/qmlpixmapcache.cpp index c058408..331c0ce 100644 --- a/src/declarative/util/qmlpixmapcache.cpp +++ b/src/declarative/util/qmlpixmapcache.cpp @@ -201,7 +201,7 @@ void QmlImageReader::cancel(QmlPixmapReply *reply) void QmlImageReader::run() { -#ifdef Q_OS_LINUX +#if defined(Q_OS_LINUX) && defined(SCHED_IDLE) struct sched_param param; int policy; |