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