Ignore:
Timestamp:
01/27/10 16:31:10 (13 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/searchtabcontainer.cpp

    r07ae23a r0bb39f5  
    1 
    2 #include <appsettings.h>
    31
    42#include "searchtabcontainer.h"
     
    6563    QString keyword = searchHeader->searchEdit->text().replace( QString("%"), QString("\\%") );
    6664    qDebug() << "\nKeyword to search: " << keyword;
    67     SqlEngine::searchEvent( AppSettings::confId(), columns, keyword );
    6865
    69     QDate startDate = Conference::getById(AppSettings::confId()).start();
    70     QDate endDate = Conference::getById(AppSettings::confId()).end();
     66    int confId = Conference::activeConference();
     67    SqlEngine::searchEvent( confId, columns, keyword );
     68
     69    QDate startDate = Conference::getById(confId).start();
     70    QDate endDate = Conference::getById(confId).end();
    7171    dayNavigator->setDates(startDate, endDate);
    72     updateTreeView( Conference::getById(AppSettings::confId()).start() );
     72    updateTreeView( Conference::getById(confId).start() );
    7373}
    7474
Note: See TracChangeset for help on using the changeset viewer.