src/hbcore/gui/hbpopup.cpp
changeset 23 e6ad4ef83b23
parent 21 4633027730f5
child 28 b7da29130b0e
--- a/src/hbcore/gui/hbpopup.cpp	Wed Aug 18 10:05:37 2010 +0300
+++ b/src/hbcore/gui/hbpopup.cpp	Thu Sep 02 20:44:51 2010 +0300
@@ -424,8 +424,9 @@
     itemFlags |= QGraphicsItem::ItemClipsToShape;
     itemFlags |= QGraphicsItem::ItemClipsChildrenToShape;
     itemFlags |= QGraphicsItem::ItemSendsGeometryChanges;
-    itemFlags |= QGraphicsItem::ItemIsPanel;
-    q->setFlags(itemFlags);    
+    //itemFlags |= QGraphicsItem::ItemIsPanel;
+    q->setFlags(itemFlags);
+    //q->setActive(false);
 }
 
 void HbPopupPrivate::_q_appearEffectEnded(HbEffect::EffectStatus status)
@@ -435,7 +436,7 @@
 
 CSystemToneService* HbPopupPrivate::systemToneService()
 {
-	return HbInstancePrivate::d_ptr()->systemTone();
+    return HbInstancePrivate::d_ptr()->systemTone();
 }
 /*
  Sets the priority for a popup.
@@ -727,10 +728,7 @@
     mVgMaskEffect->setMask(image);
 }
 
-void HbPopupPrivate::resizePopup()
-{
 
-}
 
 /*!
     Constructs a popup with the given \a parent graphics item. For true popup 
@@ -1124,9 +1122,9 @@
         if(d->addPopupToScene()) {
               d->duplicateShowEvent = true;
         }
-        if (d->mActivePopup) {
+        /*if (d->mActivePopup) {
             setActive(true);
-        }
+        }*/
         // Popup clears closed state
         d->closed = false;
         if (d->backgroundItem) {
@@ -1179,9 +1177,9 @@
     }
 
     d->doSetModal( d->modal );
-    if (d->mActivePopup) {
+    /*if (d->mActivePopup) {
         setActive(false);
-    }
+    }*/
 }
 
 /*!