From 881c3be58c5e5ec2a258b3df9d950e2f76c7173d Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 16 Nov 2009 07:21:54 +0000 Subject: [PATCH] - Make peer list non editable --- src/peerlistdelegate.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/peerlistdelegate.h b/src/peerlistdelegate.h index 7a7889287..9652b8fcd 100644 --- a/src/peerlistdelegate.h +++ b/src/peerlistdelegate.h @@ -70,6 +70,11 @@ public: } } + QWidget* createEditor(QWidget*, const QStyleOptionViewItem &, const QModelIndex &) const { + // No editor here + return 0; + } + }; #endif // PEERLISTDELEGATE_H