Changeset d8d5bd2 for src


Ignore:
Timestamp:
01/21/10 14:08:43 (13 years ago)
Author:
korrco <korrco@…>
Branches:
master, qt5
Children:
7d7659d
Parents:
96fe8fb
Message:

updateTab refactored

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    r96fe8fb rd8d5bd2  
    196196    case 0://index 0 of tabWidget: dayViewTab
    197197        {
    198             static_cast<EventModel*>(dayTreeView->model())->loadEvents(Conference::getById(confId).start(),confId);
    199             dayTreeView->reset();
    200             dayNavigator->show();
     198            updateDayView(dayNavigator->getCurrentDate());
    201199        }
    202200        break;
    203201    case 1: //index 1 of tabWidget: favouritesTab
    204202        {
    205             static_cast<EventModel*>(favTreeView->model())->loadFavEvents(Conference::getById(confId).start(),confId);
    206             favTreeView->reset();
    207             favouriteDayNavigator->show();
     203            updateFavouritesView(favouriteDayNavigator->getCurrentDate());
    208204        }
    209205        break;
    210206    case 2: //index 2 of tabWidget: activitiesTab
    211207        {
    212             //TODO korinpa: nastavit navigator, alebo dat datum navigatora pre ine case
    213             updateTracksView(activityDayNavigator->getCurrentDate());
     208            updateTracksView(trackDayNavigator->getCurrentDate());
    214209        }
    215210        break;
Note: See TracChangeset for help on using the changeset viewer.