qBittorrent
qBittorrent copied to clipboard
Row height in "previewlist" is inconsistent with similar areas like transferlist/content tab
qBittorrent & operating system versions
qBittorrent: 4.4.0/4.5.0alpha1 x64 Operating system: Windows 10 Pro 21H2/2009 x64 Qt: 5.15.2/6.2.2 libtorrent-rasterbar: 1.2.15/2.0.5
What is the problem?
Row height in "previewlist" is inconsistent with similar areas like transferlist/content tab
Preview List:

Transfer List/Content Tab:

Steps to reproduce
No response
Additional context
Use QStyledItemDelegate instead of QItemDelegate for previewlistdelegate (recommended by Qt as default)
https://doc.qt.io/qt-5/qstyleditemdelegate.html#qstyleditemdelegate-vs-qitemdelegate
https://doc.qt.io/qt-6/qstyleditemdelegate.html#qstyleditemdelegate-vs-qitemdelegate
Note:
previewlistdelegate was the only area left to convert over to QStyledItemDelegate from a previous PR.
It will maintain consistency throughout the program.
Log(s) & preferences file(s)
No response
@jagannatharjun Could you take care of this when you have a chance, please?
related to #12290
@glassez Is this on your to-do list?
@glassez Is this on your to-do list?
No, it wasn't. I did something offhand (#19340). There wasn't even time to check it out...