mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #25: Remove pro/qbs, fix MSVC build
This commit is contained in:
@ -95,7 +95,7 @@ void PageItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& opti
|
||||
if (option.state.testFlag(QStyle::State_Selected))
|
||||
{
|
||||
QColor selectedColor = option.palette.color(QPalette::Active, QPalette::Highlight);
|
||||
selectedColor.setAlphaF(0.3);
|
||||
selectedColor.setAlphaF(0.3f);
|
||||
painter->fillRect(rect, selectedColor);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user