Remove unnecessary currentIndexChanged signal in database widget.

This commit is contained in:
Florian Geyer 2012-04-18 15:38:31 +02:00 committed by Felix Geyer
parent 3b603f685a
commit 89f138a868
3 changed files with 1 additions and 8 deletions

View file

@ -360,7 +360,7 @@ void DatabaseTabWidget::insertDatabase(Database* db, const DatabaseManagerStruct
connect(dbStruct.dbWidget->entryView(), SIGNAL(entrySelectionChanged()), SLOT(emitEntrySelectionChanged()));
connect(dbStruct.dbWidget, SIGNAL(closeRequest()), SLOT(closeDatabase()));
connect(db, SIGNAL(modified()), SLOT(modified()));
connect(dbStruct.dbWidget, SIGNAL(currentIndexChanged(int)), this, SIGNAL(currentWidgetIndexChanged(int)));
connect(dbStruct.dbWidget, SIGNAL(currentChanged(int)), this, SIGNAL(currentWidgetIndexChanged(int)));
}
DatabaseWidget* DatabaseTabWidget::currentDatabaseWidget()