removing deprecated stuff
authorMarcus Eggenberger <egs@quassel-irc.org>
Mon, 29 Dec 2008 18:02:10 +0000 (19:02 +0100)
committerMarcus Eggenberger <egs@quassel-irc.org>
Mon, 29 Dec 2008 18:02:10 +0000 (19:02 +0100)
src/core/coresession.cpp
src/core/coresession.h

index fd9a872..1e21b64 100644 (file)
@@ -80,7 +80,6 @@ CoreSession::CoreSession(UserId uid, bool restoreState, QObject *parent)
   foreach(BufferId id, lastSeenHash.keys())
     _bufferSyncer->requestSetLastSeenMsg(id, lastSeenHash[id]);
 
   foreach(BufferId id, lastSeenHash.keys())
     _bufferSyncer->requestSetLastSeenMsg(id, lastSeenHash[id]);
 
-  // connect(_bufferSyncer, SIGNAL(lastSeenMsgSet(BufferId, MsgId)), this, SLOT(storeBufferLastSeenMsg(BufferId, MsgId)));
   connect(&(Core::instance()->syncTimer()), SIGNAL(timeout()), _bufferSyncer, SLOT(storeDirtyIds()));
   p->synchronize(_bufferSyncer);
 
   connect(&(Core::instance()->syncTimer()), SIGNAL(timeout()), _bufferSyncer, SLOT(storeDirtyIds()));
   p->synchronize(_bufferSyncer);
 
@@ -265,10 +264,6 @@ QVariant CoreSession::sessionState() {
   return v;
 }
 
   return v;
 }
 
-void CoreSession::storeBufferLastSeenMsg(BufferId buffer, const MsgId &msgId) {
-  Core::setBufferLastSeenMsg(user(), buffer, msgId);
-}
-
 void CoreSession::initScriptEngine() {
   signalProxy()->attachSlot(SIGNAL(scriptRequest(QString)), this, SLOT(scriptRequest(QString)));
   signalProxy()->attachSignal(this, SIGNAL(scriptResult(QString)));
 void CoreSession::initScriptEngine() {
   signalProxy()->attachSlot(SIGNAL(scriptRequest(QString)), this, SLOT(scriptRequest(QString)));
   signalProxy()->attachSignal(this, SIGNAL(scriptResult(QString)));
index e47698e..5263be7 100644 (file)
@@ -138,8 +138,6 @@ private slots:
 
   void destroyNetwork(NetworkId);
 
 
   void destroyNetwork(NetworkId);
 
-  void storeBufferLastSeenMsg(BufferId buffer, const MsgId &msgId);
-
   void scriptRequest(QString script);
 
   void clientsConnected();
   void scriptRequest(QString script);
 
   void clientsConnected();