--- a/QTfrontend/itemNum.cpp Sat May 23 21:24:43 2009 +0000
+++ b/QTfrontend/itemNum.cpp Sun May 24 02:41:34 2009 +0000
@@ -17,6 +17,7 @@
*/
#include "itemNum.h"
+#include "hwform.h"
#include <QMouseEvent>
#include <QPainter>
@@ -25,7 +26,7 @@
QFrame(parent), m_im(im), infinityState(false), nonInteractive(false), minItems(min), maxItems(max),
numItems(min+2 >= max ? min : min+2)
{
- setAttribute(Qt::WA_PaintOnScreen, true);
+ if(frontendEffects) setAttribute(Qt::WA_PaintOnScreen, true);
}
ItemNum::~ItemNum()