mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Fix data base removal in FolderModel
This commit is contained in:
parent
6438c9210f
commit
5037f3ac92
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user