X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fabstractsqlstorage.h;h=4b54f4fdf5a1ad080b98482e2538aba5f5a6e403;hp=0cf91b962ee1507a8332986cbde50cea3c7b4aa9;hb=1fc8eb59a87c005ddfe7d21bc225bef8692b9743;hpb=04315f46a16fc3627218377071e008b6b9744992 diff --git a/src/core/abstractsqlstorage.h b/src/core/abstractsqlstorage.h index 0cf91b96..4b54f4fd 100644 --- a/src/core/abstractsqlstorage.h +++ b/src/core/abstractsqlstorage.h @@ -80,7 +80,7 @@ protected: * When reimplementing this method, don't use logDB() inside this function as * this would cause as we're just about to initialize that DB connection. */ - inline virtual void initDbSession(QSqlDatabase & /* db */) {} + inline virtual bool initDbSession(QSqlDatabase & /* db */) { return true; } private slots: void connectionDestroyed();