Fix use of wrong slot when connecting the close request signal of the database widget.

This commit is contained in:
Florian Geyer 2012-05-05 11:41:23 +02:00
parent 07aa46c2d6
commit f20d892573

View File

@ -413,7 +413,7 @@ void DatabaseTabWidget::insertDatabase(Database* db, const DatabaseManagerStruct
SLOT(updateTabName(Database*)));
connect(dbStruct.dbWidget->entryView(), SIGNAL(entrySelectionChanged()),
SLOT(emitEntrySelectionChanged()));
connect(dbStruct.dbWidget, SIGNAL(closeRequest()), SLOT(closeDatabase()));
connect(dbStruct.dbWidget, SIGNAL(closeRequest()), SLOT(closeDatabaseFromSender()));
connect(db, SIGNAL(modified()), SLOT(modified()));
connect(dbStruct.dbWidget, SIGNAL(currentModeChanged(DatabaseWidget::Mode)),
SIGNAL(currentWidgetModeChanged(DatabaseWidget::Mode)));