mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Don't use deprecated features
This commit is contained in:
parent
f022458383
commit
a078633a32
3 changed files with 5 additions and 5 deletions
|
@ -386,7 +386,7 @@ Qt::ItemFlags TorrentContentModel::flags(const QModelIndex &index) const
|
|||
|
||||
Qt::ItemFlags flags {Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsUserCheckable};
|
||||
if (itemType(index) == TorrentContentModelItem::FolderType)
|
||||
flags |= Qt::ItemIsTristate;
|
||||
flags |= Qt::ItemIsAutoTristate;
|
||||
if (index.column() == TorrentContentModelItem::COL_PRIO)
|
||||
flags |= Qt::ItemIsEditable;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue