projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Quassl shows now activity from the backlog aswell.
[quassel.git]
/
src
/
client
/
buffermodel.cpp
diff --git
a/src/client/buffermodel.cpp
b/src/client/buffermodel.cpp
index
2fc222e
..
0b87f81
100644
(file)
--- a/
src/client/buffermodel.cpp
+++ b/
src/client/buffermodel.cpp
@@
-73,5
+73,7
@@
QModelIndex BufferModel::currentIndex() {
void BufferModel::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) {
Q_UNUSED(current);
void BufferModel::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) {
Q_UNUSED(current);
+ setData(current, QDateTime::currentDateTime(), NetworkModel::LastSeenRole);
+ setData(previous, QDateTime::currentDateTime(), NetworkModel::LastSeenRole);
setData(previous, qVariantFromValue((int)BufferItem::NoActivity), NetworkModel::BufferActivityRole);
}
setData(previous, qVariantFromValue((int)BufferItem::NoActivity), NetworkModel::BufferActivityRole);
}