QLabel::setPixmap() isn't virtual, don't make it so.

This commit is contained in:
Adriaan de Groot 2017-07-04 03:36:42 -04:00 committed by Philip
parent ce1caeaf63
commit 0a278ca546

View File

@ -1,6 +1,7 @@
/* === This file is part of Calamares - <http://github.com/calamares> === /* === This file is part of Calamares - <http://github.com/calamares> ===
* *
* Copyright 2015, Teo Mrnjavac <teo@kde.org> * Copyright 2015, Teo Mrnjavac <teo@kde.org>
* Copyright 2017, Adriaan de Groot <groot@kde.org>
* *
* Calamares is free software: you can redistribute it and/or modify * Calamares is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -30,7 +31,7 @@ public:
virtual ~FixedAspectRatioLabel(); virtual ~FixedAspectRatioLabel();
public slots: public slots:
virtual void setPixmap( const QPixmap &pixmap ); void setPixmap( const QPixmap &pixmap );
void resizeEvent( QResizeEvent* event ) override; void resizeEvent( QResizeEvent* event ) override;
private: private: