Ignore:
Timestamp:
01/21/10 13:54:58 (12 years ago)
Author:
korrco <korrco@…>
Branches:
master, qt5
Children:
606c155
Parents:
e662750
Message:

activities tab implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    re662750 r72cd3af  
    163163        QDate aEndDate = Conference::getById(confId).end();
    164164        dayNavigator->setDates(aStartDate, aEndDate);
     165        //update activity map
     166        Track::updateTrackMap();
    165167        trackDayNavigator->setDates(aStartDate, aEndDate);
    166168    }
    167     //update track map
    168     Track::updateTrackMap();
    169169}
    170170
     
    208208        }
    209209        break;
    210     case 2: //index 2 of tabWidget: trackTab
    211         {
    212             static_cast<EventModel*>(trackTreeView->model())->loadEventsByTrack(Conference::getById(confId).start(), confId);
    213             trackTreeView->reset();
    214             trackDayNavigator->show();
     210    case 2: //index 2 of tabWidget: activitiesTab
     211        {
     212            //TODO korinpa: nastavit navigator, alebo dat datum navigatora pre ine case
     213            updateTracksView(activityDayNavigator->getCurrentDate());
    215214        }
    216215        break;
Note: See TracChangeset for help on using the changeset viewer.