mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Replace deprecated classes
This commit is contained in:
parent
ab187f06da
commit
ce3c53b3c4
5 changed files with 14 additions and 14 deletions
|
@ -50,7 +50,7 @@ public:
|
|||
|
||||
void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const {
|
||||
painter->save();
|
||||
QStyleOptionViewItemV2 opt = QItemDelegate::setOptions(index, option);
|
||||
QStyleOptionViewItem opt = QItemDelegate::setOptions(index, option);
|
||||
switch(index.column()) {
|
||||
case TOT_DOWN:
|
||||
case TOT_UP:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue