auto/const added
This commit is contained in:
parent
ef755011df
commit
a90648902e
@ -476,7 +476,7 @@ void QskMaterialSkin::initSliderHints()
|
|||||||
setBoxBorderMetrics( Q::Handle, 4 );
|
setBoxBorderMetrics( Q::Handle, 4 );
|
||||||
|
|
||||||
// handle expanding, when being pressed
|
// handle expanding, when being pressed
|
||||||
QSize extentSize( extent, extent );
|
const QSize extentSize( extent, extent );
|
||||||
setStrutSize( Q::Handle, 0.6 * extentSize );
|
setStrutSize( Q::Handle, 0.6 * extentSize );
|
||||||
setStrutSize( Q::Handle | Q::Pressed, extentSize );
|
setStrutSize( Q::Handle | Q::Pressed, extentSize );
|
||||||
|
|
||||||
|
@ -446,7 +446,7 @@ QSGNode* QskListViewSkinlet::updateCellNode( const QskListView* listView,
|
|||||||
const auto alignment = listView->alignmentHint(
|
const auto alignment = listView->alignmentHint(
|
||||||
QskListView::Cell, Qt::AlignVCenter | Qt::AlignLeft );
|
QskListView::Cell, Qt::AlignVCenter | Qt::AlignLeft );
|
||||||
|
|
||||||
const QVariant value = listView->valueAt( row, col );
|
const auto value = listView->valueAt( row, col );
|
||||||
|
|
||||||
if ( value.canConvert< QskGraphic >() )
|
if ( value.canConvert< QskGraphic >() )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user