Ignore:
Timestamp:
01/27/10 16:31:10 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
a790a90
Parents:
07ae23a
Message:

removed appsettings

  • created 'active' column in 'conference' table
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/favtabcontainer.cpp

    r07ae23a r0bb39f5  
    1 /*
    2  * favtabcontainer.cpp
    3  *
    4  *  Created on: Jan 27, 2010
    5  *      Author: maemo
    6  */
    71
    82#include "favtabcontainer.h"
     
    2216    // we need to reload favourites, because some favourite could be deleted
    2317    //static_cast<EventModel*>(favTreeView->model())->updateModel(aEventId);
    24     QDate aStartDate = Conference::getById(AppSettings::confId()).start();
    25     QDate aEndDate = Conference::getById(AppSettings::confId()).end();
    26     dayNavigator->setDates(aStartDate, aEndDate);
    27     updateTreeView( Conference::getById(AppSettings::confId()).start() );
     18    int confId = Conference::activeConference();
     19    QDate startDate = Conference::getById(confId).start();
     20    QDate endDate = Conference::getById(confId).end();
     21    dayNavigator->setDates(startDate, endDate);
     22    updateTreeView( Conference::getById(confId).start() );
    2823}
     24
Note: See TracChangeset for help on using the changeset viewer.