X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fsqlitestorage.cpp;h=34852e9c1077d01ba1e7a29ceb6105cf34ce4771;hp=5f36e83e7d125a673b4e4bcbe40f07c502d7914f;hb=638ec016dc973ff1c573f3d8194d5eb6a165fdbd;hpb=97dd282be4132a8107efb92c9cd42162c4f0f51d diff --git a/src/core/sqlitestorage.cpp b/src/core/sqlitestorage.cpp index 5f36e83e..34852e9c 100644 --- a/src/core/sqlitestorage.cpp +++ b/src/core/sqlitestorage.cpp @@ -42,6 +42,9 @@ bool SqliteStorage::isAvailable() const { } QString SqliteStorage::displayName() const { + // We identify the backend to use for the monolithic core by its displayname. + // so only change this string if you _really_ have to and make sure the core + // setup for the mono client still works ;) return QString("SQLite"); } @@ -1755,8 +1758,8 @@ bool SqliteMigrationReader::readMo(BufferMO &buffer) { buffer.buffertype = value(6).toInt(); buffer.lastseenmsgid = value(7).toInt(); buffer.markerlinemsgid = value(8).toInt(); - buffer.key = value(8).toString(); - buffer.joined = value(9).toInt() == 1 ? true : false; + buffer.key = value(9).toString(); + buffer.joined = value(10).toInt() == 1 ? true : false; return true; }