videocollection/tsrc/stubs/src/hbmainwindow.cpp
changeset 35 3738fe97f027
parent 34 bbb98528c666
child 36 8aed59de29f9
equal deleted inserted replaced
34:bbb98528c666 35:3738fe97f027
    46 QList<HbView *> HbMainWindow::views() const
    46 QList<HbView *> HbMainWindow::views() const
    47 {
    47 {
    48     return mViews;
    48     return mViews;
    49 }
    49 }
    50 
    50 
    51 HbView *currentView() const
    51 HbView* HbMainWindow::currentView() const
    52 {
    52 {
       
    53     if(mViews.count())
       
    54     {
       
    55         return mViews.at(0);
       
    56     }
    53     return 0;
    57     return 0;
    54 }
    58 }