projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dac44bc
)
fixing BR #367
author
Marcus Eggenberger
<egs@quassel-irc.org>
Fri, 31 Oct 2008 12:26:17 +0000
(13:26 +0100)
committer
Marcus Eggenberger
<egs@quassel-irc.org>
Fri, 31 Oct 2008 12:26:17 +0000
(13:26 +0100)
src/uisupport/nickview.cpp
patch
|
blob
|
history
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;