mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 14:57:52 +00:00
- Make peer list non editable
This commit is contained in:
parent
78346a881c
commit
881c3be58c
@ -70,6 +70,11 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QWidget* createEditor(QWidget*, const QStyleOptionViewItem &, const QModelIndex &) const {
|
||||||
|
// No editor here
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PEERLISTDELEGATE_H
|
#endif // PEERLISTDELEGATE_H
|
||||||
|
Loading…
Reference in New Issue
Block a user