locationpickerservice/src/locationpickercollectionlistcontent.cpp
changeset 31 8db05346071b
parent 30 96df3ab41000
--- a/locationpickerservice/src/locationpickercollectionlistcontent.cpp	Wed Jun 23 18:07:15 2010 +0300
+++ b/locationpickerservice/src/locationpickercollectionlistcontent.cpp	Tue Jul 06 14:10:28 2010 +0300
@@ -25,9 +25,8 @@
 // ----------------------------------------------------------------------
 // LocationPickerCollectionListContent::LocationPickerCollectionListContent()
 // ----------------------------------------------------------------------
-LocationPickerCollectionListContent::LocationPickerCollectionListContent( Qt::Orientation aOrientation )
-    :mOrientation(aOrientation),
-    mModel(NULL),
+LocationPickerCollectionListContent::LocationPickerCollectionListContent()
+    :mModel(NULL),
     mDataManager(NULL)
 {
     // Create a standard model for the view list
@@ -36,7 +35,7 @@
     {
         // create data manager to manage data in the model
         mDataManager = LocationPickerDataManager::getInstance();
-        bool populated = mDataManager->populateModel( *mModel, ELocationPickerCollectionListContent, mOrientation );
+        bool populated = mDataManager->populateModel( *mModel, ELocationPickerCollectionListContent);
         if(!populated)
         {
         qFatal("Error creating collection");
@@ -56,9 +55,9 @@
 // LocationPickerCollectionListContent::getStandardModel
 // -----------------------------------------------------------------
 QStandardItemModel* LocationPickerCollectionListContent::getStandardModel()
-    {
+{
     return mModel;
-    }
+}
 
 // ----------------------------------------------------------------------------
 // LocationPickerCollectionListContent::getData()