--- a/ganeswidgets/src/hgcoverflowcontainer.cpp Fri Jun 11 14:43:11 2010 +0300
+++ b/ganeswidgets/src/hgcoverflowcontainer.cpp Thu Jun 24 12:59:29 2010 +0300
@@ -18,7 +18,7 @@
#include <QGesture>
#include <QGraphicsSceneResizeEvent>
#include <QPainter>
-#include <hblabel.h>
+#include <HbLabel>
#include "hgcoverflowcontainer.h"
#include "hgmediawallrenderer.h"
#include "hgwidgetitem.h"
@@ -46,9 +46,10 @@
// events
void HgCoverflowContainer::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
+ QPainter::RenderHints hints = painter->renderHints();
painter->setRenderHint(QPainter::Antialiasing, true);
HgContainer::paint(painter, option, widget);
- painter->setRenderHint(QPainter::Antialiasing, false);
+ painter->setRenderHint(QPainter::Antialiasing, (hints.testFlag(QPainter::Antialiasing)) );
}
// from HgContainer