Fix obsolete class warning.
This commit is contained in:
		
							parent
							
								
									25c6a921a0
								
							
						
					
					
						commit
						9479005511
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -26,7 +26,7 @@ StyledItemDelegateWithoutFocus::~StyledItemDelegateWithoutFocus() { | |||
| 
 | ||||
| void StyledItemDelegateWithoutFocus::paint(QPainter *painter, const QStyleOptionViewItem &option, | ||||
|                                            const QModelIndex &index) const { | ||||
|   QStyleOptionViewItemV4 itemOption(option); | ||||
|   QStyleOptionViewItem itemOption(option); | ||||
| 
 | ||||
|   if (itemOption.state & QStyle::State_HasFocus) { | ||||
|     itemOption.state = itemOption.state ^ QStyle::State_HasFocus; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue