src/hbinput/inputwidgets/hbinputsmileypicker.cpp
changeset 5 627c4a0fd0e7
parent 0 16d8024aca5e
child 6 c3690ec91ef8
--- a/src/hbinput/inputwidgets/hbinputsmileypicker.cpp	Thu May 27 13:10:59 2010 +0300
+++ b/src/hbinput/inputwidgets/hbinputsmileypicker.cpp	Fri Jun 11 13:58:22 2010 +0300
@@ -35,6 +35,7 @@
 #include <HbFrameItem>
 #include <HbFrameDrawer>
 #include <hbdialog_p.h>
+#include <hbinputregioncollector_p.h>
 
 #include "hbinputsmileypicker.h"
 
@@ -116,7 +117,7 @@
     : HbDialog(*new HbInputSmileyPickerPrivate(rows, columns), parent)
 {
     Q_D(HbInputSmileyPicker);
-
+    HbInputRegionCollector::instance()->attach(this);
 #if QT_VERSION >= 0x040600
     // Make sure the smiley picker never steals focus.
     setFlag(QGraphicsItem::ItemIsPanel, true);
@@ -129,6 +130,7 @@
     setBackgroundFaded(false);
     setTimeout(NoTimeout);
     setContentWidget(d->mView);
+    d->mView->setLongPressEnabled(false);
 
     // extract smilies.
     d->getSmilies(smileys);