/***************************************************************************
- * 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 *
{
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);
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<NetworkId>(), false);
}