mirror of
https://github.com/YACReader/yacreader
synced 2026-01-22 07:53:52 -05:00
Qt's database and query model requires that both the queries and the database
objects are out of scope before a database connection can safely be removed.
Solution: Properly encapsulate databases and queries in "{ }" and use a string
to cache the connection name for out-of-scope removal.