Fix extra check that wasn't needed

This commit is contained in:
Thom Troy 2012-06-10 19:55:50 +01:00 committed by Florian Geyer
parent 17f4e23215
commit e439e057a0

View File

@ -523,9 +523,6 @@ void DatabaseTabWidget::modified()
{
Q_ASSERT(qobject_cast<Database*>(sender()));
if (config()->get("AutoSaveAfterEveryChange").toBool()) {
config()->set("LastDatabases", QVariant());
}
Database* db = static_cast<Database*>(sender());
DatabaseManagerStruct& dbStruct = m_dbList[db];