X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoresession.cpp;h=4a798eae0b1c3aeb0c12f895940b304275e5bdde;hp=23456ab3fc782c436a55d89eaab166ea011cdeb6;hb=52a4b82e170fe88725de8381c842a5278c7d1e46;hpb=07922d269c097a809fe20a7cbb605d176c7d3083 diff --git a/src/core/coresession.cpp b/src/core/coresession.cpp index 23456ab3..4a798eae 100644 --- a/src/core/coresession.cpp +++ b/src/core/coresession.cpp @@ -70,9 +70,9 @@ CoreSession::CoreSession(UserId uid, bool restoreState, QObject *parent) : QObje initScriptEngine(); // init BufferSyncer - //QHash lastSeenHash = Core::bufferLastSeenDates(user()); - //foreach(BufferId id, lastSeenHash.keys()) _bufferSyncer->requestSetLastSeen(id, lastSeenHash[id]); - // FIXME connect(_bufferSyncer, SIGNAL(lastSeenSet(BufferId, const QDateTime &)), this, SLOT(storeBufferLastSeen(BufferId, const QDateTime &))); + QHash lastSeenHash = Core::bufferLastSeenDates(user()); + foreach(BufferId id, lastSeenHash.keys()) _bufferSyncer->requestSetLastSeen(id, lastSeenHash[id]); + connect(_bufferSyncer, SIGNAL(lastSeenSet(BufferId, const QDateTime &)), this, SLOT(storeBufferLastSeen(BufferId, const QDateTime &))); p->synchronize(_bufferSyncer); // Restore session state