diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2009-06-10 11:01:01 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2009-06-10 11:04:20 (GMT) |
commit | 2255027e66a5b3284438de26ab64aaa941489665 (patch) | |
tree | ae4842182fe2551c3488dd5a46dc32462f90b0af | |
parent | 941a03814a5f8f7be93425f71ee65a4222d16899 (diff) | |
download | Qt-2255027e66a5b3284438de26ab64aaa941489665.zip Qt-2255027e66a5b3284438de26ab64aaa941489665.tar.gz Qt-2255027e66a5b3284438de26ab64aaa941489665.tar.bz2 |
Fixed non-working animations under X11 with the raster graphicssystem.
Reviewed-by: jbache
-rw-r--r-- | demos/qtdemo/colors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/qtdemo/colors.cpp b/demos/qtdemo/colors.cpp index 883b0fb..048cb98 100644 --- a/demos/qtdemo/colors.cpp +++ b/demos/qtdemo/colors.cpp @@ -337,7 +337,7 @@ void Colors::detectSystemResources() #if defined(Q_WS_X11) // check if X render is present: QPixmap tmp(1, 1); - if (!tmp.x11PictureHandle()){ + if (!tmp.x11PictureHandle() && tmp.paintEngine()->type() == QPaintEngine::X11){ Colors::xRenderPresent = false; if (Colors::verbose) qDebug("- X render not present"); |