diff --git a/playground/images/Image.cpp b/playground/images/Image.cpp index a92197a6..c4ccb47a 100644 --- a/playground/images/Image.cpp +++ b/playground/images/Image.cpp @@ -157,7 +157,7 @@ void Image::updatePolish() } if ( m_data->sourceSizeAdjustment ) - setSourceSize( QSize( width(), height() ) ); + setSourceSize( QSize( int( width() ), int( height() ) ) ); } m_data->dirtyPolish = false; diff --git a/playground/images/Image.h b/playground/images/Image.h index 443946a2..7348549a 100644 --- a/playground/images/Image.h +++ b/playground/images/Image.h @@ -3,8 +3,8 @@ * This file may be used under the terms of the QSkinny License, Version 1.0 *****************************************************************************/ -#ifndef _IMAGE_H -#define _IMAGE_H +#ifndef IMAGE_H +#define IMAGE_H #include "QskGlobal.h"