src/hbwidgets/itemviews/hbgridviewitem_p.cpp
changeset 21 4633027730f5
parent 0 16d8024aca5e
child 30 80e4d18b72f5
--- a/src/hbwidgets/itemviews/hbgridviewitem_p.cpp	Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbwidgets/itemviews/hbgridviewitem_p.cpp	Wed Aug 18 10:05:37 2010 +0300
@@ -106,7 +106,7 @@
     if (    mTextValid
         &&  !mTextItem) {
         mItemsChanged = true;
-        mTextItem = q->style()->createPrimitive(HbStyle::P_GridViewItem_text, q);
+        mTextItem = HbStylePrivate::createPrimitive(HbStylePrivate::P_GridViewItem_text, q);
        }
     else if (   !mTextValid
              && mTextItem) {
@@ -140,7 +140,7 @@
     if (    mIconValid
         &&  !mIconItem) {
         mItemsChanged = true;
-        mIconItem = q->style()->createPrimitive(HbStyle::P_GridViewItem_icon, q);
+        mIconItem = HbStylePrivate::createPrimitive(HbStylePrivate::P_GridViewItem_icon, q);
     }
     else if (   !mIconValid
             &&  mIconItem) {