mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
- Make peer list non editable
This commit is contained in:
parent
78346a881c
commit
881c3be58c
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue