projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a useful popup to the topic bar. Should probably be beautified though...
[quassel.git]
/
src
/
client
/
selectionmodelsynchronizer.cpp
diff --git
a/src/client/selectionmodelsynchronizer.cpp
b/src/client/selectionmodelsynchronizer.cpp
index
ef0b947
..
169fddc
100644
(file)
--- a/
src/client/selectionmodelsynchronizer.cpp
+++ b/
src/client/selectionmodelsynchronizer.cpp
@@
-80,7
+80,7
@@
void SelectionModelSynchronizer::removeSelectionModel(MappedSelectionModel *mode
}
void SelectionModelSynchronizer::_mappedCurrentChanged(const QModelIndex ¤t) {
}
void SelectionModelSynchronizer::_mappedCurrentChanged(const QModelIndex ¤t) {
- emit setCurrentIndex(current, QItemSelectionModel::ClearAndSelect);
+ emit setCurrentIndex(current, QItemSelectionModel::ClearAndSelect
| QItemSelectionModel::Rows
);
}
void SelectionModelSynchronizer::_mappedSelectionChanged(const QItemSelection &selected) {
}
void SelectionModelSynchronizer::_mappedSelectionChanged(const QItemSelection &selected) {
@@
-89,7
+89,7
@@
void SelectionModelSynchronizer::_mappedSelectionChanged(const QItemSelection &s
void SelectionModelSynchronizer::_regularCurrentChanged(const QModelIndex &newCurrent, const QModelIndex &oldCurrent) {
Q_UNUSED(oldCurrent)
void SelectionModelSynchronizer::_regularCurrentChanged(const QModelIndex &newCurrent, const QModelIndex &oldCurrent) {
Q_UNUSED(oldCurrent)
- emit setCurrentIndex(newCurrent, QItemSelectionModel::ClearAndSelect);
+ emit setCurrentIndex(newCurrent, QItemSelectionModel::ClearAndSelect
| QItemSelectionModel::Rows
);
}
void SelectionModelSynchronizer::_regularSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected) {
}
void SelectionModelSynchronizer::_regularSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected) {