projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixing small glitch in a header file
[quassel.git]
/
src
/
core
/
abstractsqlstorage.cpp
diff --git
a/src/core/abstractsqlstorage.cpp
b/src/core/abstractsqlstorage.cpp
index
d8992df
..
92f03cb
100644
(file)
--- a/
src/core/abstractsqlstorage.cpp
+++ b/
src/core/abstractsqlstorage.cpp
@@
-86,6
+86,8
@@
void AbstractSqlStorage::addConnectionToPool() {
if(!db.open()) {
qWarning() << "Unable to open database" << displayName() << "for thread" << QThread::currentThread();
qWarning() << "-" << db.lastError().text();
+ } else {
+ initDbSession(db);
}
}