diff --git a/lcl/interfaces/qt/qtwidgets.pas b/lcl/interfaces/qt/qtwidgets.pas index 6d5706c0a0..a5d5839b42 100644 --- a/lcl/interfaces/qt/qtwidgets.pas +++ b/lcl/interfaces/qt/qtwidgets.pas @@ -11378,6 +11378,8 @@ begin ItemIndex := QModelIndex_row(index); SubItemIndex := QModelIndex_column(index); + QStyle_drawControl(QApplication_style, QStyleCE_ItemViewItem, Option, painter, viewportWidget); + // NOW WE ARE DRAWING ITEMS ... QPainter_save(painter); if TCustomListView(LCLObject).Canvas.HandleAllocated then @@ -12697,6 +12699,8 @@ begin ItemIndex := QModelIndex_row(index); SubItemIndex := QModelIndex_column(index); + QStyle_drawControl(QApplication_style, QStyleCE_ItemViewItem, Option, painter, viewportWidget); + // NOW WE ARE DRAWING ITEMS ... QPainter_save(painter); if TCustomListView(LCLObject).Canvas.HandleAllocated then