changeset 556:eabefd562995 sv-v1.7.2

* Quick workarounds for some very weird behaviour on first test on Ubuntu 10.04
author Chris Cannam
date Wed, 05 May 2010 14:45:32 +0000
parents 3f698e237585
children 3b128519773c
files layer/SpectrogramLayer.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp	Fri Mar 12 15:34:18 2010 +0000
+++ b/layer/SpectrogramLayer.cpp	Wed May 05 14:45:32 2010 +0000
@@ -2366,7 +2366,7 @@
         std::cerr << "Recreating image cache: width = " << v->width()
                   << ", height = " << h << std::endl;
 #endif
-	cache.image = QImage(v->width(), h, QImage::Format_RGB32);
+	cache.image = QImage(v->width(), h, QImage::Format_ARGB32_Premultiplied);
     }
 
     if (w > 0) {