[Kstars-devel] branches/kstars/summer/kstars/kstars/tools
Prakash Mohan
prak902000 at gmail.com
Tue May 26 15:21:36 CEST 2009
SVN commit 973076 by prakash:
Removing some redundant lines from code. The resize columns to contents need not be called on tab switching.
CCMAIL: kstars-devel at kde.org
M +0 -6 observinglist.cpp
--- branches/kstars/summer/kstars/kstars/tools/observinglist.cpp #973075:973076
@@ -1065,19 +1065,13 @@
void ObservingList::slotChangeTab(int index)
{
if(index) {
- //ui->AddToSession->hide();
ui->SetDate->show();
ui->SetLocation->show();
ui->timeEdit->show();
- //ui->lineEdit->show();
- ui->SessionView->resizeColumnsToContents();
} else {
- //ui->AddToSession->show();
ui->SetDate->hide();
ui->SetLocation->hide();
ui->timeEdit->hide();
- //ui->lineEdit->hide();
- ui->TableView->resizeColumnsToContents();
}
ui->CenterButton->setEnabled( false );
ui->ScopeButton->setEnabled( false );
More information about the Kstars-devel
mailing list