Core: Pass const values by reference

Change-Id: I44f16528f2ee8fb41351153bab8dc340f4f2cca1
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Orgad Shaneh
2014-05-19 18:27:46 +03:00
committed by Orgad Shaneh
parent a77e75c36e
commit bc6c5b9968
10 changed files with 10 additions and 10 deletions

View File

@@ -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;