mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix more Qt5.7 warnings
This commit is contained in:
parent
054d430859
commit
45617fb292
@ -39,7 +39,7 @@ void QgsWelcomePageItemDelegate::paint( QPainter* painter, const QStyleOptionVie
|
||||
QPixmap icon = qvariant_cast<QPixmap>( index.data( Qt::DecorationRole ) );
|
||||
|
||||
QAbstractTextDocumentLayout::PaintContext ctx;
|
||||
QStyleOptionViewItemV4 optionV4 = option;
|
||||
QStyleOptionViewItem optionV4 = option;
|
||||
|
||||
QColor color;
|
||||
if ( option.state & QStyle::State_Selected && option.state & QStyle::State_HasFocus )
|
||||
|
@ -479,7 +479,7 @@ void QgsVariableEditorTree::emitChanged()
|
||||
void QgsVariableEditorTree::drawRow( QPainter* painter, const QStyleOptionViewItem& option,
|
||||
const QModelIndex& index ) const
|
||||
{
|
||||
QStyleOptionViewItemV3 opt = option;
|
||||
QStyleOptionViewItem opt = option;
|
||||
QTreeWidgetItem* item = itemFromIndex( index );
|
||||
if ( index.parent().isValid() )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user