diff options
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; }; |