diff options
Diffstat (limited to 'gui/apicalldelegate.cpp')
-rw-r--r-- | gui/apicalldelegate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/apicalldelegate.cpp b/gui/apicalldelegate.cpp index dc9dc94a..11ed3a5c 100644 --- a/gui/apicalldelegate.cpp +++ b/gui/apicalldelegate.cpp @@ -33,7 +33,7 @@ void ApiCallDelegate::paint(QPainter *painter, //QStyledItemDelegate::paint(painter, option, index); QStyle *style = QApplication::style(); style->drawControl(QStyle::CE_ItemViewItem, &option, painter, 0); - if (!event->state().isEmpty()) { + if (event->hasState()) { QPixmap px = m_stateEmblem.pixmap(option.rect.height(), option.rect.height()); painter->drawPixmap(option.rect.topLeft(), px); |