qtinternetradio/ui/src/irhistoryview.cpp
changeset 15 065198191975
parent 14 896e9dbc5f19
child 16 5723da102db1
--- a/qtinternetradio/ui/src/irhistoryview.cpp	Wed Aug 18 09:40:26 2010 +0300
+++ b/qtinternetradio/ui/src/irhistoryview.cpp	Thu Sep 02 20:17:46 2010 +0300
@@ -50,11 +50,7 @@
 IRHistoryView::IRHistoryView(IRApplication *aApplication, TIRViewId aViewId) :
     IrAbstractListViewBase(aApplication, aViewId), iClearHistoryAction(NULL),
     iLogoPreset(NULL)
-{
-    //this view won't be starting view, don't need lazy init
-    IrAbstractListViewBase::lazyInit();
-    setInitCompleted(true);
-    
+{   
     iModel = new IRHistoryModel(this);
     iListView->setModel(iModel);
     iListView->setCurrentIndex(iModel->index(0));
@@ -484,6 +480,7 @@
 #endif
     action->setObjectName(KActionDetailsName);
     
+    contextMenu->setPreferredPos(aCoords);
     contextMenu->open();
 }