From 2add7f6f860398d619c27b2849dcd882e80e12dc Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 27 Jun 2017 06:08:07 -0400 Subject: [PATCH] Clang: type-annotate float literal --- src/libcalamaresui/utils/CalamaresUtilsGui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcalamaresui/utils/CalamaresUtilsGui.h b/src/libcalamaresui/utils/CalamaresUtilsGui.h index 3c57d5930..e675d0672 100644 --- a/src/libcalamaresui/utils/CalamaresUtilsGui.h +++ b/src/libcalamaresui/utils/CalamaresUtilsGui.h @@ -93,7 +93,7 @@ UIDLLEXPORT QPixmap defaultPixmap( ImageType type, */ UIDLLEXPORT QPixmap createRoundedImage( const QPixmap& avatar, const QSize& size, - float frameWidthPct = 0.20 ); + float frameWidthPct = 0.20f ); /** * @brief unmarginLayout recursively walks the QLayout tree and removes all margins.