mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-27 03:13:24 +02:00
...
This commit is contained in:
parent
2968901080
commit
b7e655a408
1 changed files with 1 additions and 0 deletions
|
|
@ -343,6 +343,7 @@ void CalibreStyle::drawPrimitive(PrimitiveElement element, const QStyleOption *
|
|||
}
|
||||
|
||||
void CalibreStyle::drawControl(ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const {
|
||||
const QStyleOptionViewItem *vopt = NULL;
|
||||
switch(element) {
|
||||
case CE_ItemViewItem: {
|
||||
if (option->state & QStyle::State_HasFocus && (vopt = qstyleoption_cast<const QStyleOptionViewItem *>(option)) && widget && widget->property("highlight_current_item").toBool()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue