mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Fix data base removal in FolderModel
This commit is contained in:
@ -729,10 +729,13 @@ void FolderModelProxy::setupFilteredModelData()
|
||||
QLOG_ERROR() << "Unable to parse query: " << e.what();
|
||||
}
|
||||
}
|
||||
QSqlDatabase::removeDatabase(db.connectionName());
|
||||
|
||||
connectionName = db.connectionName();
|
||||
|
||||
endResetModel();
|
||||
}
|
||||
|
||||
QSqlDatabase::removeDatabase(connectionName);
|
||||
}
|
||||
|
||||
void FolderModelProxy::clear()
|
||||
|
Reference in New Issue
Block a user