mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 13:34:44 -04:00
added drag&drop for image files
This commit is contained in:
@ -130,7 +130,7 @@ void YACReaderRatingDelegate::paint(QPainter *painter, const QStyleOptionViewIte
|
||||
|
||||
QStyledItemDelegate::paint(painter, option, index);
|
||||
|
||||
if(option.state | QStyle::State_Editing)
|
||||
if(!(option.state & QStyle::State_Editing))
|
||||
{
|
||||
if (option.state & QStyle::State_Selected)
|
||||
starRating.paintSelected(painter, option.rect, option.palette,
|
||||
|
Reference in New Issue
Block a user