compiler warnings fixed
This commit is contained in:
parent
cf66ea1df5
commit
91834513a6
|
@ -158,7 +158,7 @@ class IconGrid : public QskLinearBox
|
|||
private:
|
||||
void setItemsVisible( const QRectF& rect, bool on )
|
||||
{
|
||||
const int dim = dimension();
|
||||
const auto dim = dimension();
|
||||
|
||||
// we know, that all items have the same size
|
||||
const auto itemSize = itemAtIndex( 0 )->size();
|
||||
|
|
|
@ -132,10 +132,10 @@ void LayoutSolver::setup( bool layoutChildren,
|
|||
|
||||
const auto expr1 = r1.expressionAt( anchor.edge1 );
|
||||
|
||||
Expression expr2;
|
||||
|
||||
if ( anchor.item2 == nullptr )
|
||||
{
|
||||
Expression expr2;
|
||||
|
||||
switch( anchor.edge2 )
|
||||
{
|
||||
case Qt::AnchorLeft:
|
||||
|
|
Loading…
Reference in New Issue