Commit 372c5471 authored by Dan Pascu's avatar Dan Pascu

Do not paint the remove participant indicator during pending requests

parent 1e3001c4
...@@ -1315,7 +1315,7 @@ class ConferenceParticipantDelegate(QStyledItemDelegate, ColorHelperMixin): ...@@ -1315,7 +1315,7 @@ class ConferenceParticipantDelegate(QStyledItemDelegate, ColorHelperMixin):
painter.save() painter.save()
painter.drawPixmap(option.rect, QPixmap.grabWidget(participant.widget)) painter.drawPixmap(option.rect, QPixmap.grabWidget(participant.widget))
if option.state & QStyle.State_MouseOver: if (option.state & QStyle.State_MouseOver) and participant.widget.isEnabled():
self.drawRemoveIndicator(participant, option, painter, participant.widget) self.drawRemoveIndicator(participant, option, painter, participant.widget)
if 0 and (option.state & QStyle.State_MouseOver): if 0 and (option.state & QStyle.State_MouseOver):
painter.setRenderHint(QPainter.Antialiasing, True) painter.setRenderHint(QPainter.Antialiasing, True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment