fixed crash when canceling DL from channel files list

This commit is contained in:
csoler 2023-02-17 23:56:35 +01:00
parent 9442d87644
commit f6c584183b
4 changed files with 30 additions and 16 deletions

View file

@ -47,7 +47,7 @@ class ChannelPostFilesDelegate: public QStyledItemDelegate
Q_OBJECT
public:
ChannelPostFilesDelegate(QObject *parent=0) : QStyledItemDelegate(parent){}
ChannelPostFilesDelegate(QObject *parent=0) : QStyledItemDelegate(parent){}
virtual ~ChannelPostFilesDelegate(){}
void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const override;