From d94d510c59e82638e0e8e65b8d07b60138e886b8 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Thu, 7 Dec 2017 14:59:29 +0100 Subject: [PATCH] compiler warnings fixed --- playground/images/Image.cpp | 2 +- playground/images/Image.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"