mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 19:14:51 +00:00
* no need for QStyleOptionViewItemV3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23122 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
27de158157
commit
4dc36f2380
@ -50,7 +50,7 @@ protected:
|
||||
void paint(QPainter *painter, const QStyleOptionViewItem &option,
|
||||
const QModelIndex &index) const
|
||||
{
|
||||
QStyleOptionViewItemV3 opt = setOptions(index, option);
|
||||
QStyleOptionViewItem opt = setOptions(index, option);
|
||||
QVariant value = index.data(Qt::DisplayRole);
|
||||
QPixmap pixmap = qvariant_cast<QPixmap>(value);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user