mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-12 07:59:29 -05:00
fixed unitialized memory read causing unexpected behavior in thumbnails
This commit is contained in:
parent
ca49232ff1
commit
9652654b6a
@ -60,7 +60,7 @@ class ChannelPostDelegate: public QAbstractItemDelegate
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ChannelPostDelegate(QObject *parent=0) : QAbstractItemDelegate(parent), mZoom(1.0){}
|
ChannelPostDelegate(QObject *parent=0) : QAbstractItemDelegate(parent), mZoom(1.0), mUseGrid(true){}
|
||||||
virtual ~ChannelPostDelegate(){}
|
virtual ~ChannelPostDelegate(){}
|
||||||
|
|
||||||
void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const override;
|
void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const override;
|
||||||
|
Loading…
Reference in New Issue
Block a user