auto/const added

This commit is contained in:
Uwe Rathmann 2020-12-18 18:26:32 +01:00
parent ef755011df
commit a90648902e
2 changed files with 2 additions and 2 deletions

View File

@ -476,7 +476,7 @@ void QskMaterialSkin::initSliderHints()
setBoxBorderMetrics( Q::Handle, 4 );
// handle expanding, when being pressed
QSize extentSize( extent, extent );
const QSize extentSize( extent, extent );
setStrutSize( Q::Handle, 0.6 * extentSize );
setStrutSize( Q::Handle | Q::Pressed, extentSize );

View File

@ -446,7 +446,7 @@ QSGNode* QskListViewSkinlet::updateCellNode( const QskListView* listView,
const auto alignment = listView->alignmentHint(
QskListView::Cell, Qt::AlignVCenter | Qt::AlignLeft );
const QVariant value = listView->valueAt( row, col );
const auto value = listView->valueAt( row, col );
if ( value.canConvert< QskGraphic >() )
{