projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixing BR #367
[quassel.git]
/
src
/
uisupport
/
nickview.cpp
diff --git
a/src/uisupport/nickview.cpp
b/src/uisupport/nickview.cpp
index
6b883d9
..
2767705
100644
(file)
--- a/
src/uisupport/nickview.cpp
+++ b/
src/uisupport/nickview.cpp
@@
-144,7
+144,10
@@
void NickView::showContextMenu(const QPoint & pos ) {
}
}
-void NickView::startQuery(const QModelIndex & index) {
+void NickView::startQuery(const QModelIndex &index) {
+ if(index.data(NetworkModel::ItemTypeRole) != NetworkModel::IrcUserItemType)
+ return;
+
QString nick = nickFromModelIndex(index);
bool activated = false;
QString nick = nickFromModelIndex(index);
bool activated = false;