Ignore:
Timestamp:
01/28/10 09:50:52 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
7da2b49
Parents:
ac43c29
Message:

search tab - header is hidden in case no conf exists in the DB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/tabcontainer.cpp

    rac43c29 rbb6f7d6  
    3232    connect(treeView, SIGNAL(requestForConflicts(const QModelIndex &)), SLOT(displayConflicts(const QModelIndex &)));
    3333
    34     if(!Conference::getAll().count()) // no conference(s) in the DB
    35     {
    36         dayNavigator->hide();
    37     }
    38     else
    39     {
    40         QDate aStartDate = Conference::getById(Conference::activeConference()).start();
    41         QDate aEndDate = Conference::getById(Conference::activeConference()).end();
    42         dayNavigator->setDates(aStartDate, aEndDate);
    43     }
     34    // day navigator is hidden by default
     35    dayNavigator->hide();
    4436}
    4537
Note: See TracChangeset for help on using the changeset viewer.