From 0a278ca546bf05269fd50383bad5f4fa53520362 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 4 Jul 2017 03:36:42 -0400 Subject: [PATCH] QLabel::setPixmap() isn't virtual, don't make it so. --- src/libcalamaresui/widgets/FixedAspectRatioLabel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libcalamaresui/widgets/FixedAspectRatioLabel.h b/src/libcalamaresui/widgets/FixedAspectRatioLabel.h index 71fc6e9d3..4483576f6 100644 --- a/src/libcalamaresui/widgets/FixedAspectRatioLabel.h +++ b/src/libcalamaresui/widgets/FixedAspectRatioLabel.h @@ -1,6 +1,7 @@ /* === This file is part of Calamares - === * * Copyright 2015, Teo Mrnjavac + * Copyright 2017, Adriaan de Groot * * Calamares is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +31,7 @@ public: virtual ~FixedAspectRatioLabel(); public slots: - virtual void setPixmap( const QPixmap &pixmap ); + void setPixmap( const QPixmap &pixmap ); void resizeEvent( QResizeEvent* event ) override; private: