projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
/* no comment */
[quassel.git]
/
src
/
uisupport
/
abstractbuffercontainer.cpp
diff --git
a/src/uisupport/abstractbuffercontainer.cpp
b/src/uisupport/abstractbuffercontainer.cpp
index
c4cbb19
..
88fb434
100644
(file)
--- a/
src/uisupport/abstractbuffercontainer.cpp
+++ b/
src/uisupport/abstractbuffercontainer.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
8 by the Quassel IRC Team
*
+ * Copyright (C) 2005-0
9 by the Quassel Project
*
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-71,6
+71,7
@@
void AbstractBufferContainer::currentChanged(const QModelIndex ¤t, const Q
if(newBufferId != oldBufferId) {
setCurrentBuffer(newBufferId);
emit currentChanged(newBufferId);
if(newBufferId != oldBufferId) {
setCurrentBuffer(newBufferId);
emit currentChanged(newBufferId);
+ emit currentChanged(current);
}
}
}
}
@@
-91,7
+92,6
@@
void AbstractBufferContainer::setCurrentBuffer(BufferId bufferId) {
_currentBuffer = bufferId;
showChatView(bufferId);
_currentBuffer = bufferId;
showChatView(bufferId);
- Client::networkModel()->setBufferActivity(bufferId, BufferInfo::NoActivity);
- Client::setBufferLastSeenMsg(bufferId, _chatViews[bufferId]->lastMsgId());
+ Client::networkModel()->clearBufferActivity(bufferId);
setFocus();
}
setFocus();
}