diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-12-31 00:42:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-31 00:42:14 +0100 |
commit | cb1d8afb361c9f209b4b9f89f05ae35b4e157eac (patch) | |
tree | cb046ebd210054208f4a3f03c52f84b970602b64 /src/library/dao | |
parent | 3d51ffebd8f27b0308c73fcb92905e332e16f46f (diff) | |
parent | d49e7cef64ab592f6ba9ce0d9d2c34033e636347 (diff) |
Merge pull request #3468 from uklotzde/libraryscanner-cleanup
lp1855783: Execute database cleanup before library scan
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; }; |