diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2020-12-18 19:34:10 +0100 |
---|---|---|
committer | Uwe Klotz <uklotz@mixxx.org> | 2020-12-18 19:50:01 +0100 |
commit | 6255bb1f40e5887ea268c68cb3c5a533bde816ca (patch) | |
tree | 08071828863a7bfa901a6c331b6f5170f96ebd37 /src/library/dao | |
parent | 043b38cb2080755302295ff1788376502752e27e (diff) |
Execute database cleanup before library scan
https://bugs.launchpad.net/mixxx/+bug/1855783
Diffstat (limited to 'src/library/dao')
-rw-r--r-- | src/library/dao/dao.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library/dao/dao.h b/src/library/dao/dao.h index 837cc939ef..13bfe53206 100644 --- a/src/library/dao/dao.h +++ b/src/library/dao/dao.h @@ -13,6 +13,10 @@ class DAO { m_database = database; } + const QSqlDatabase& database() const { + return m_database; + } + protected: QSqlDatabase m_database; }; |