diff options
Diffstat (limited to 'pica-client/history.cpp')
| -rw-r--r-- | pica-client/history.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pica-client/history.cpp b/pica-client/history.cpp index 933e2a9..77afe1b 100644 --- a/pica-client/history.cpp +++ b/pica-client/history.cpp @@ -4,7 +4,7 @@ History::History(QString storage, QByteArray my_id) : me_(my_id) { - dbconn = QSqlDatabase::addDatabase("QSQLITE"); + dbconn = QSqlDatabase::database(); dbconn.setDatabaseName(storage); if (!dbconn.open()) |
