Skip to content

Introduce QtConcurrent based database access

Linus Jahn requested to merge lnj/kaidan:database-with-qfutures into master

Makes it easier to use the database and features run function to do something on the database thread pool.

Currently there are two ways of handling database queries:

  1. Directly on the database thread (where all *Db classes are living)
  2. Using DatabaseComponent::run() (QThreadPool) with QFutures The second one with its QFutures is the future.

Merge request reports