mirror of
https://github.com/YACReader/yacreader
synced 2026-03-07 21:30:01 -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.