tsdevicedialog/tsdevicedialogplugin/src/tstasksgrid.cpp
changeset 116 305818acdca4
parent 99 7aaf39b772ac
equal deleted inserted replaced
112:dbfb5e38438b 116:305818acdca4
    18 #include "tstasksgrid.h"
    18 #include "tstasksgrid.h"
    19 
    19 
    20 void TsTasksGrid::polish(HbStyleParameters &params)
    20 void TsTasksGrid::polish(HbStyleParameters &params)
    21 {
    21 {
    22     HbGridView::polish(params);
    22     HbGridView::polish(params);
    23     
    23 
    24     // center second item when dialog is shown
    24     // center second item when dialog is shown
    25     if (model()) {
    25     if (model()) {
    26         scrollTo(model()->index(1, 0), PositionAtCenter);
    26         scrollTo(model()->index(1, 0), PositionAtCenter);
    27     }
    27     }
    28 }
    28 }