Changeset ed063f1


Ignore:
Timestamp:
06/26/11 20:28:57 (10 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
3686b97
Parents:
f48bf9f
Message:

Searching without active conference doesn't give an error message anymore (resolves ticket #7).

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/gui/searchtabcontainer.cpp

    rf48bf9f red063f1  
    8787
    8888    int confId = Conference::activeConference();
     89    if (confId == -1) return;
     90
    8991    SqlEngine::searchEvent( confId, columns, keyword );
    9092
  • src/mvc/conference.h

    rf48bf9f red063f1  
    3636    static Conference getById(int id);
    3737    static QList<Conference> getAll();
    38     static int activeConference();
     38    static int activeConference(); ///< returns -1 if no conference is active
    3939    static void deleteConference(int id);
    4040
Note: See TracChangeset for help on using the changeset viewer.