X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fbufferview.cpp;h=4217d566ca4d83867e7895960c585049ee19d8f3;hb=894e9b60a395efdbacf8a2f8b0dc138464366191;hp=74552696193a4484130caf09470385ba7fcc8d9f;hpb=a35e9270e608bfbc5b21ba47d49b3139f06b13e9;p=quassel.git diff --git a/src/uisupport/bufferview.cpp b/src/uisupport/bufferview.cpp index 74552696..4217d566 100644 --- a/src/uisupport/bufferview.cpp +++ b/src/uisupport/bufferview.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -86,7 +86,6 @@ BufferView::BufferView(QWidget *parent) { connect(this, SIGNAL(collapsed(const QModelIndex &)), SLOT(on_collapse(const QModelIndex &))); connect(this, SIGNAL(expanded(const QModelIndex &)), SLOT(on_expand(const QModelIndex &))); - connect(this, SIGNAL(clicked(const QModelIndex &)), SLOT(on_clicked(const QModelIndex &))); setSelectionMode(QAbstractItemView::ExtendedSelection); @@ -355,11 +354,6 @@ void BufferView::on_configChanged() { return; } -void BufferView::on_clicked(const QModelIndex &index) { - Q_UNUSED(index); - setFocus(Qt::MouseFocusReason); -} - void BufferView::on_collapse(const QModelIndex &index) { storeExpandedState(index.data(NetworkModel::NetworkIdRole).value(), false); }