forked from qt-creator/qt-creator
Core: Pass const values by reference
Change-Id: I44f16528f2ee8fb41351153bab8dc340f4f2cca1 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
a77e75c36e
commit
bc6c5b9968
@@ -48,7 +48,7 @@ void Animation::paint(QPainter *painter, const QStyleOption *option)
|
||||
Q_UNUSED(painter)
|
||||
}
|
||||
|
||||
void Animation::drawBlendedImage(QPainter *painter, QRect rect, float alpha)
|
||||
void Animation::drawBlendedImage(QPainter *painter, const QRect &rect, float alpha)
|
||||
{
|
||||
if (m_secondaryImage.isNull() || m_primaryImage.isNull())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user