--- a/src/hbinput/inputwidgets/hbinputsmileypicker.cpp Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbinput/inputwidgets/hbinputsmileypicker.cpp Wed Aug 18 10:05:37 2010 +0300
@@ -66,15 +66,14 @@
{
Q_UNUSED(rows);
Q_UNUSED(columns);
- Q_Q(HbInputSmileyPicker);
// we should make sure that it comes above vkb
setPriority(HbPopupPrivate::VirtualKeyboard + 1);
// create a view and set the rows and columns.
- mView = new HbGridView(q);
+ mView = new HbGridView();
mView->setScrollDirections(Qt::Horizontal);
mView->setHorizontalScrollBarPolicy(HbScrollArea::ScrollBarAsNeeded);
- mModel = new QStandardItemModel(q);
+ mModel = new QStandardItemModel(mView);
mView->setModel(mModel);
}