--- a/ganeswidgets/src/hgwidgets.cpp Fri Aug 06 09:27:34 2010 +0300
+++ b/ganeswidgets/src/hgwidgets.cpp Mon Aug 23 13:45:39 2010 +0300
@@ -221,27 +221,8 @@
bool HgWidget::eventFilter(QObject *obj,QEvent *event)
{
- Q_D(HgWidget);
- switch (event->type() )
- {
- case QEvent::ApplicationActivate:
- {
-// d->gainedForeground();
- break;
- }
- case QEvent::ApplicationDeactivate:
- {
-// d->lostForeground();
- break;
- }
- case QEvent::GraphicsSceneResize:
- {
- d->adjustGeometry();
- break;
- }
- default:
- break;
- }
+ // function is not used anymore, that is, event filter is not installed.
+ // Kept to keep the binary compability.
return QObject::eventFilter(obj, event);
}